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.001234/0.001235, allocations: 111.1 kB / 16.42 MB, free: 6.48 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.001392/0.001393, allocations: 191.8 kB / 17.35 MB, free: 5.75 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.432/1.432, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 63.89 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00221/1.027, allocations: 0.8153 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001532/1.027, allocations: 47.72 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/1.027, allocations: 0 / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/1.028, allocations: 7.875 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.748e-05/1.028, allocations: 7.922 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.607e-05/1.028, allocations: 19.98 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/1.028, allocations: 67.77 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/1.028, allocations: 47.92 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/1.028, allocations: 23.92 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/1.028, allocations: 31.78 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/1.028, allocations: 8 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/1.028, allocations: 8 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/1.028, allocations: 7.938 kB / 1.21 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/1.028, allocations: 43.8 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/1.028, allocations: 71.64 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.028, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.804e-06/1.028, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.132e-06/1.028, allocations: 0 / 1.21 GB, free: 12.45 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.0004744/1.029, allocations: 384.8 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.029, allocations: 8.031 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/1.029, allocations: 12.84 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/1.029, allocations: 192.1 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/1.029, allocations: 12.38 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/1.029, allocations: 4.375 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/1.029, allocations: 95.94 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.029, allocations: 192 / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/1.03, allocations: 3.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.03, allocations: 3.984 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.295e-05/1.03, allocations: 39.92 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/1.03, allocations: 436.5 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.431e-05/1.03, allocations: 45.28 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/1.03, allocations: 25.78 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/1.03, allocations: 4 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/1.03, allocations: 34.55 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/1.03, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001879/1.031, allocations: 57.48 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/1.031, allocations: 77.11 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/1.031, allocations: 160.3 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/1.031, allocations: 25.95 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/1.031, allocations: 108 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.724e-06/1.031, allocations: 3.906 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/1.031, allocations: 17.72 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.031, allocations: 322.8 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/1.031, allocations: 4 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/1.031, allocations: 25.64 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.318e-05/1.031, allocations: 29.72 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.031, allocations: 4 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.87e-05/1.031, allocations: 57.55 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.031, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.031, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/1.031, allocations: 7.922 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/1.031, allocations: 8 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.031, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/1.031, allocations: 3.969 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/1.031, allocations: 11.94 kB / 1.212 GB, free: 10.01 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 7.891e-05/1.032, allocations: 113.8 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/1.032, allocations: 7.906 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/1.032, allocations: 15.8 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.032, allocations: 4 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.032, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/1.032, allocations: 85.02 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/1.032, allocations: 0 / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/1.032, allocations: 8 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/1.032, allocations: 7.922 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000115/1.032, allocations: 188.3 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001543/1.032, allocations: 297.9 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.134e-05/1.032, allocations: 12.09 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.595e-05/1.032, allocations: 121.7 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of Backend: time 4.91e-07/1.032, allocations: 0 / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004425/1.033, allocations: 100.5 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005061/1.033, allocations: 0.6111 MB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of Templates: time 0.002622/1.036, allocations: 0.5395 MB / 1.214 GB, free: 7.809 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