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.001899/0.001898, allocations: 112.1 kB / 16.42 MB, free: 6.504 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.00241/0.00241, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.968/1.968, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.815/3.815, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 67.89 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408/1.41, 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_BtuPerHour): time 0.003033/1.413, allocations: 0.8231 MB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001597/1.413, allocations: 35.84 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/1.413, allocations: 4 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.72e-05/1.413, allocations: 11.86 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/1.413, allocations: 7.875 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.494e-05/1.413, allocations: 19.98 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/1.414, allocations: 59.84 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/1.414, allocations: 55.89 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/1.414, allocations: 19.88 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/1.414, allocations: 31.78 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/1.414, allocations: 8 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/1.414, allocations: 4 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/1.414, allocations: 15.94 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/1.414, allocations: 35.8 kB / 1.21 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/1.414, allocations: 79.64 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/1.414, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.244e-06/1.414, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.241e-06/1.414, 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.0005997/1.415, allocations: 384.8 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/1.415, allocations: 8.031 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/1.415, allocations: 8.844 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/1.415, allocations: 196.1 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/1.416, allocations: 12.38 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/1.416, allocations: 8.312 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/1.416, allocations: 87.95 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/1.416, allocations: 192 / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/1.416, allocations: 7.938 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.416, allocations: 3.938 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/1.416, allocations: 39.92 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/1.417, allocations: 436.6 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.961e-05/1.417, allocations: 49.17 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/1.417, allocations: 21.84 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/1.417, allocations: 3.984 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.417, allocations: 34.56 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/1.417, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002457/1.417, allocations: 53.48 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/1.417, allocations: 85.09 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/1.418, allocations: 150.3 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/1.418, allocations: 29.7 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/1.418, allocations: 104.2 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/1.418, allocations: 7.906 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/1.418, allocations: 21.7 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.418, allocations: 314.8 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/1.418, allocations: 7.984 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.286e-05/1.418, allocations: 21.72 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.938e-05/1.418, allocations: 29.66 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.418, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/1.418, allocations: 61.53 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.418, allocations: 10.19 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.418, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.418, allocations: 3.938 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/1.418, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/1.418, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/1.418, allocations: 7.844 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/1.418, allocations: 64 / 1.212 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 0.0001415/1.419, allocations: 117.8 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/1.419, allocations: 7.906 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/1.419, allocations: 23.8 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.419, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.419, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/1.419, allocations: 89 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/1.419, allocations: 0 / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/1.419, allocations: 4 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/1.419, allocations: 8 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001468/1.419, allocations: 196.2 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002239/1.42, allocations: 293.9 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.94e-05/1.42, allocations: 8.094 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001288/1.42, allocations: 129.4 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of Backend: time 4.81e-07/1.42, allocations: 0 / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007092/1.42, allocations: 94.33 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006457/1.421, allocations: 0.6044 MB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of Templates: time 0.004212/1.425, allocations: 0.5473 MB / 1.214 GB, free: 7.801 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/jenkins1/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