Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 104 kB / 16.41 MB, free: 6.449 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.001437/0.001437, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 68.11 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7682/0.7696, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002059/0.7717, allocations: 0.8231 MB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001314/0.7719, allocations: 43.78 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.7719, allocations: 4 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.496e-05/0.772, allocations: 11.88 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.757e-05/0.7721, allocations: 11.86 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.538e-05/0.7721, allocations: 15.98 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.7722, allocations: 63.84 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.7724, allocations: 47.91 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.7724, allocations: 27.86 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.721e-05/0.7725, allocations: 27.8 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.7725, allocations: 11.94 kB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.7725, allocations: 4 kB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.7726, allocations: 15.98 kB / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.7726, allocations: 35.75 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.7728, allocations: 71.69 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7728, allocations: 0 / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7728, allocations: 0 / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.7728, allocations: 4 kB / 1.21 GB, free: 12.37 MB / 0.9356 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.0004545/0.7733, allocations: 384.8 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.7733, allocations: 8.031 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.7733, allocations: 12.83 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.7736, allocations: 192.2 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.7736, allocations: 4.375 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.7736, allocations: 8.375 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.7738, allocations: 94.23 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.7738, allocations: 192 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.7738, allocations: 11.94 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.7738, allocations: 3.938 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.416e-05/0.7739, allocations: 39.97 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.7745, allocations: 436.5 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.338e-05/0.7745, allocations: 41.16 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.7746, allocations: 21.84 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.7746, allocations: 8.016 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.7746, allocations: 30.56 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.7746, allocations: 4 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001779/0.7748, allocations: 61.47 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.7749, allocations: 81.11 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.775, allocations: 160 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.775, allocations: 25.7 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.7751, allocations: 108 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.7751, allocations: 3.906 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.7752, allocations: 17.97 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7753, allocations: 326.8 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.7753, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.7753, allocations: 21.72 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.7754, allocations: 29.64 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7754, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.496e-05/0.7755, allocations: 57.61 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7755, allocations: 8 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7755, allocations: 3.938 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.7755, allocations: 0 / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.7756, allocations: 11.92 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.7756, allocations: 7.984 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.7757, allocations: 3.906 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.7757, allocations: 4 kB / 1.212 GB, free: 9.93 MB / 0.9356 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.147e-05/0.7758, allocations: 109.8 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.7758, allocations: 11.97 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.7758, allocations: 11.81 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7759, allocations: 0 / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.7759, allocations: 7.984 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7759, allocations: 0 / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.7763, allocations: 470.8 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7763, allocations: 4 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.7763, allocations: 8.062 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7763, allocations: 0 / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.7763, allocations: 0 / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7763, allocations: 0 / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7764, allocations: 3.938 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.7765, allocations: 85.77 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.7765, allocations: 88.95 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.7766, allocations: 8.031 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.232e-05/0.7766, allocations: 0 / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.7766, allocations: 7.922 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.7766, allocations: 0 / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001213/0.7768, allocations: 125.3 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7768, allocations: 0 / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001898/0.777, allocations: 11.91 kB / 1.213 GB, free: 8.879 MB / 0.9356 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.0001137/0.7771, allocations: 95.25 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.517e-05/0.7772, allocations: 23.94 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7772, allocations: 0 / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.7772, allocations: 4 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.7774, allocations: 11.94 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.7777, allocations: 188.5 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.778, allocations: 0.7004 MB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.778, allocations: 11.44 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.778, allocations: 0 / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of Templates: time 0.002251/0.7803, allocations: 0.8599 MB / 1.214 GB, free: 6.918 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches