Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.876/2.876, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 67.91 kB / 1.107 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299/1.301, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002517/1.304, allocations: 0.8399 MB / 1.273 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000129/1.304, allocations: 37.31 kB / 1.273 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/1.304, allocations: 1.438 kB / 1.273 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/1.304, allocations: 9.047 kB / 1.273 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/1.304, allocations: 14 kB / 1.273 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.665e-05/1.304, allocations: 25.47 kB / 1.273 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/1.304, allocations: 59.25 kB / 1.273 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/1.305, allocations: 34.69 kB / 1.273 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/1.305, allocations: 19.22 kB / 1.273 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/1.305, allocations: 34.77 kB / 1.273 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/1.305, allocations: 5.938 kB / 1.273 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/1.305, allocations: 5.844 kB / 1.273 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/1.305, allocations: 16.47 kB / 1.273 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/1.305, allocations: 36.44 kB / 1.273 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/1.305, allocations: 73.84 kB / 1.273 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.305, allocations: 4 kB / 1.273 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/1.305, allocations: 0.75 kB / 1.273 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.305, allocations: 0 / 1.273 GB, free: 7.172 MB / 0.9981 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.000451/1.305, allocations: 376.7 kB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.305, allocations: 9.656 kB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/1.306, allocations: 17.97 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/1.306, allocations: 204.5 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/1.306, allocations: 7.406 kB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/1.306, allocations: 8.969 kB / 1.274 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/1.306, allocations: 94.91 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.306, allocations: 1.156 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/1.306, allocations: 4.969 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/1.306, allocations: 1.781 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.273e-05/1.306, allocations: 36.31 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/1.307, allocations: 444.4 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.239e-05/1.307, allocations: 36.81 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/1.307, allocations: 18.88 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/1.307, allocations: 0.9688 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/1.307, allocations: 39.59 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.307, allocations: 1.031 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001874/1.307, allocations: 58.75 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/1.307, allocations: 77.98 kB / 1.275 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/1.307, allocations: 156.1 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/1.307, allocations: 27.91 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/1.307, allocations: 108.3 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.607e-06/1.307, allocations: 9.047 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/1.307, allocations: 17.31 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/1.307, allocations: 320.5 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/1.307, allocations: 5.047 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/1.307, allocations: 19.44 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/1.307, allocations: 29.31 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.307, allocations: 4 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.634e-05/1.308, allocations: 55.22 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.308, allocations: 5.25 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.308, allocations: 4.656 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/1.308, allocations: 2.812 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/1.308, allocations: 5.406 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.308, allocations: 8.734 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/1.308, allocations: 10.88 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/1.308, allocations: 1 kB / 1.275 GB, free: 5.082 MB / 0.9981 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 5.959e-05/1.308, allocations: 121.6 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/1.308, allocations: 12.06 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/1.308, allocations: 18.39 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/1.308, allocations: 1.031 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.308, allocations: 1.188 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.308, allocations: 4.969 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/1.308, allocations: 470.5 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.308, allocations: 1.125 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/1.308, allocations: 2.156 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.308, allocations: 3.016 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/1.308, allocations: 4.719 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.308, allocations: 0.875 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.308, allocations: 1.219 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.385e-05/1.308, allocations: 85.08 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/1.308, allocations: 89.95 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/1.308, allocations: 0.9375 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/1.308, allocations: 4.688 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/1.308, allocations: 1.906 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/1.308, allocations: 1.094 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.803e-05/1.308, allocations: 121.8 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.308, allocations: 0 / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001848/1.309, allocations: 7 kB / 1.276 GB, free: 4.16 MB / 0.9981 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.0001501/1.309, allocations: 104.1 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001147/1.309, allocations: 19.89 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.309, allocations: 0 / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.301e-05/1.309, allocations: 7.562 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/1.309, allocations: 11.98 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/1.309, allocations: 178.1 kB / 1.277 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/1.31, allocations: 0.6904 MB / 1.277 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.028e-05/1.31, allocations: 10.34 kB / 1.277 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/1.31, allocations: 11.34 kB / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/1.31, allocations: 0 / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of Templates: time 0.003439/1.313, allocations: 467.4 kB / 1.278 GB, free: 3.113 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.66376319155097]