Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 106.1 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 189.5 kB / 16.91 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.552/2.552, allocations: 469.8 MB / 0.7427 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 68.48 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2844, allocations: 159.2 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002168/0.2866, allocations: 0.8843 MB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001042/0.2867, allocations: 43.78 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.2868, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.2868, allocations: 3.938 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.2869, allocations: 3.938 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.092e-05/0.287, allocations: 15.98 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2871, allocations: 63.84 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.2872, allocations: 43.95 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.2873, allocations: 27.86 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.2873, allocations: 31.8 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.2874, allocations: 4 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.2874, allocations: 15.94 kB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.2874, allocations: 11.98 kB / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.2874, allocations: 31.75 kB / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.201e-05/0.2875, allocations: 56.17 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2875, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2876, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.2876, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004336/0.288, allocations: 379.2 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.288, allocations: 8.031 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.2881, allocations: 12.75 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.2883, allocations: 196.2 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.2883, allocations: 8.375 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2883, allocations: 8.375 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.2885, allocations: 87.94 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2885, allocations: 192 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.2885, allocations: 11.94 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2885, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.2886, allocations: 35.92 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.2892, allocations: 440.5 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.2892, allocations: 37.28 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.2893, allocations: 29.83 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.2893, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.2893, allocations: 30.56 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.2893, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001695/0.2895, allocations: 53.48 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.2896, allocations: 81.36 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.2897, allocations: 168.5 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2897, allocations: 33.58 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.2898, allocations: 111.9 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-06/0.2898, allocations: 7.891 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.2899, allocations: 21.7 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.29, allocations: 310.8 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.29, allocations: 8 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.2901, allocations: 29.7 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.2901, allocations: 21.72 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2901, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.949e-05/0.2902, allocations: 61.53 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2902, allocations: 8 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2902, allocations: 3.938 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2903, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-05/0.2903, allocations: 8.062 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2903, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.2904, allocations: 11.84 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.2904, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.128e-05/0.2905, allocations: 116 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.2905, allocations: 11.84 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.2905, allocations: 15.8 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2906, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2906, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2906, allocations: 8 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.291, allocations: 466.8 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.291, allocations: 8 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.291, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.291, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.291, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.291, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.291, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.337e-05/0.2911, allocations: 85.89 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.2912, allocations: 89 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.2912, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.2912, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.2913, allocations: 3.938 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.2913, allocations: 3.938 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.091e-05/0.2914, allocations: 126.1 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2914, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001833/0.2916, allocations: 12 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001161/0.2917, allocations: 95.25 kB / 1.068 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.872e-05/0.2918, allocations: 19.98 kB / 1.068 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2918, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.2918, allocations: 12.06 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.292, allocations: 16 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.2923, allocations: 204.5 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2926, allocations: 0.7002 MB / 1.069 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.2926, allocations: 11.44 kB / 1.069 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2926, allocations: 0 / 1.069 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of Templates: time 0.002311/0.2949, allocations: 0.8522 MB / 1.07 GB, free: 8.371 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches