Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009455/0.009456, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001928/0.001928, allocations: 191.8 kB / 16.67 MB, free: 5.52 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.576/2.576, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.031, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001981/1.033, allocations: 0.8266 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001137/1.033, allocations: 39.86 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/1.033, allocations: 0 / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/1.033, allocations: 7.875 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/1.033, allocations: 11.86 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.979e-05/1.033, allocations: 19.97 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000117/1.034, allocations: 63.84 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/1.034, allocations: 51.8 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/1.034, allocations: 27.86 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/1.034, allocations: 23.86 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/1.034, allocations: 8 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-06/1.034, allocations: 8 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/1.034, allocations: 15.92 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/1.034, allocations: 39.81 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/1.034, allocations: 71.62 kB / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.034, allocations: 0 / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.743e-06/1.034, allocations: 0 / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.054e-06/1.034, allocations: 0 / 1.209 GB, free: 12.46 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.0004567/1.035, allocations: 384.8 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.035, allocations: 12.03 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/1.035, allocations: 8.844 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/1.035, allocations: 192.2 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/1.035, allocations: 12.31 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/1.035, allocations: 8.375 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/1.035, allocations: 87.95 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.035, allocations: 192 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/1.035, allocations: 7.938 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/1.035, allocations: 4 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/1.035, allocations: 39.92 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/1.036, allocations: 440.6 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.644e-05/1.036, allocations: 41.25 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/1.036, allocations: 17.78 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/1.036, allocations: 7.984 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/1.036, allocations: 30.56 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.036, allocations: 4 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001672/1.036, allocations: 61.47 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.036, allocations: 77.11 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/1.036, allocations: 156.7 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/1.036, allocations: 25.95 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/1.036, allocations: 112 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/1.036, allocations: 7.906 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/1.036, allocations: 13.72 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.037, allocations: 318.8 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/1.037, allocations: 8 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/1.037, allocations: 21.66 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/1.037, allocations: 25.72 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.037, allocations: 3.938 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.606e-05/1.037, allocations: 65.53 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.037, allocations: 5.875 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.037, allocations: 3.938 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.037, allocations: 3.938 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/1.037, allocations: 8 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/1.037, allocations: 0 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/1.037, allocations: 11.95 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/1.037, allocations: 7.984 kB / 1.211 GB, free: 10.02 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.204e-05/1.037, allocations: 113.8 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/1.037, allocations: 7.906 kB / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/1.037, allocations: 11.81 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/1.037, allocations: 0 / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.037, allocations: 0 / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/1.037, allocations: 0 / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/1.037, allocations: 478.8 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.038, allocations: 4 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/1.038, allocations: 4 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.038, allocations: 0 / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/1.038, allocations: 0 / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.038, allocations: 7.938 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.038, allocations: 0 / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.08e-05/1.038, allocations: 85.89 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/1.038, allocations: 88.95 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/1.038, allocations: 0 / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/1.038, allocations: 0 / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/1.038, allocations: 0 / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/1.038, allocations: 4 kB / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.794e-05/1.038, allocations: 121.3 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.038, allocations: 0 / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001867/1.038, allocations: 15.94 kB / 1.212 GB, free: 8.977 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.0001211/1.038, allocations: 109.1 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.373e-05/1.038, allocations: 16 kB / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.038, allocations: 0 / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/1.038, allocations: 7.938 kB / 1.212 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/1.038, allocations: 7.938 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/1.039, allocations: 171 kB / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/1.039, allocations: 0.6924 MB / 1.213 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.319e-05/1.039, allocations: 8.422 kB / 1.213 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/1.039, allocations: 11.44 kB / 1.213 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/1.039, allocations: 3.938 kB / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of Templates: time 0.002522/1.042, allocations: 468.4 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches