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.001132/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00251/0.00251, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.08 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3499, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002047/0.352, allocations: 0.8865 MB / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001074/0.3521, allocations: 47.78 kB / 1.053 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.3522, allocations: 4 kB / 1.053 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.3522, allocations: 3.938 kB / 1.053 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.3523, allocations: 3.938 kB / 1.053 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.666e-05/0.3524, allocations: 15.98 kB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.576e-05/0.3525, allocations: 63.75 kB / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3526, allocations: 39.97 kB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.894e-05/0.3527, allocations: 27.81 kB / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.3527, allocations: 27.78 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.3528, allocations: 4 kB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.3528, allocations: 4 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.3528, allocations: 15.98 kB / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3528, allocations: 35.73 kB / 1.053 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.393e-05/0.3529, allocations: 64.06 kB / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.353, allocations: 0 / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.02e-07/0.353, allocations: 0 / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.353, allocations: 0 / 1.053 GB, free: 7.609 MB / 0.8106 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.0004456/0.3534, allocations: 380.3 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3535, allocations: 11.97 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.3535, allocations: 8.844 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.3537, allocations: 204.1 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3537, allocations: 8.375 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.3538, allocations: 8.375 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3539, allocations: 89.42 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3539, allocations: 192 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.354, allocations: 11.94 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.354, allocations: 0 / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.957e-05/0.3541, allocations: 39.92 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.3546, allocations: 436.5 kB / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.145e-05/0.3547, allocations: 45.27 kB / 1.054 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.3547, allocations: 21.84 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.3548, allocations: 4 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3548, allocations: 30.56 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.3548, allocations: 0 / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001706/0.355, allocations: 57.47 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.355, allocations: 89.05 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.3552, allocations: 157.3 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.3552, allocations: 29.89 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.3553, allocations: 108 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.3553, allocations: 7.891 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.3553, allocations: 17.72 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3554, allocations: 314.8 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.3555, allocations: 7.984 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.3555, allocations: 21.72 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.3555, allocations: 25.72 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3555, allocations: 0 / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.869e-05/0.3556, allocations: 61.53 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3557, allocations: 8 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.3557, allocations: 3.938 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3557, allocations: 0 / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/0.3557, allocations: 7.938 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3558, allocations: 4 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.3558, allocations: 11.91 kB / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3558, allocations: 4 kB / 1.055 GB, free: 5.16 MB / 0.8106 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.419e-05/0.3559, allocations: 115.3 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.3559, allocations: 11.89 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.356, allocations: 11.81 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.356, allocations: 0 / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.356, allocations: 4 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.356, allocations: 0 / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.3564, allocations: 474.8 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3564, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.3564, allocations: 4 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3564, allocations: 0 / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.3564, allocations: 3.984 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3564, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3564, allocations: 3.984 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.043e-05/0.3565, allocations: 81.91 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.3566, allocations: 89 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.3566, allocations: 4 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.3566, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.3567, allocations: 4.031 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3567, allocations: 4 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.251e-05/0.3568, allocations: 119.2 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3568, allocations: 4.031 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001869/0.357, allocations: 12 kB / 1.056 GB, free: 4.121 MB / 0.8106 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.0001242/0.3571, allocations: 99.23 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.813e-05/0.3572, allocations: 23.92 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3572, allocations: 0 / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/0.3572, allocations: 7.938 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.3574, allocations: 11.94 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.3577, allocations: 184.7 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.3579, allocations: 0.6965 MB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.358, allocations: 4.438 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.358, allocations: 11.44 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.358, allocations: 0 / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of Templates: time 0.00234/0.3603, allocations: 436.5 kB / 1.058 GB, free: 2.594 MB / 0.8106 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/jenkins/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