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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 215.2 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.611/1.611, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.1/3.1, allocations: 476 MB / 0.7699 GB, free: 4.801 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003049/0.003049, allocations: 68.14 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4316, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002432/0.434, allocations: 0.7962 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001485/0.4342, allocations: 43.78 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/0.4342, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.324e-05/0.4343, allocations: 7.875 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.4344, allocations: 15.86 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.698e-05/0.4345, allocations: 19.98 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.4346, allocations: 63.84 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.4348, allocations: 23.98 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.4349, allocations: 31.84 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.435, allocations: 19.86 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.435, allocations: 8 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.435, allocations: 7.938 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.435, allocations: 19.92 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.4351, allocations: 23.81 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.4352, allocations: 83.56 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4352, allocations: 4 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.043e-06/0.4352, allocations: 0 / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.4352, allocations: 0 / 1.284 GB, free: 10.82 MB / 0.9825 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.0005965/0.4358, allocations: 306.1 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4359, allocations: 12.03 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.4359, allocations: 8.891 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.4362, allocations: 138.3 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4362, allocations: 8.312 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.4362, allocations: 8.375 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.4364, allocations: 94.2 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4365, allocations: 8.125 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.4365, allocations: 7.938 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4365, allocations: 4 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.438e-05/0.4366, allocations: 35.98 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.4372, allocations: 352.6 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.787e-05/0.4372, allocations: 37.09 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.4373, allocations: 17.84 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.4373, allocations: 7.938 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.4373, allocations: 38.48 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4373, allocations: 4 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002082/0.4375, allocations: 49.59 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.4376, allocations: 85.05 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.4378, allocations: 127.6 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.4378, allocations: 29.7 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.4379, allocations: 111.9 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.4379, allocations: 7.953 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.4379, allocations: 13.72 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4381, allocations: 322.8 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.4381, allocations: 4.25 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.4381, allocations: 21.72 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.4382, allocations: 25.7 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4382, allocations: 0 / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.714e-05/0.4383, allocations: 57.59 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4383, allocations: 8 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4383, allocations: 0 / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4383, allocations: 3.938 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.4384, allocations: 12.05 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.4384, allocations: 4 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.4384, allocations: 0 / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.4384, allocations: 3.938 kB / 1.286 GB, free: 8.672 MB / 0.9825 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.0001152/0.4386, allocations: 117.8 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.4386, allocations: 7.953 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.4386, allocations: 11.41 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4386, allocations: 4 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4386, allocations: 0 / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4386, allocations: 0 / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.4391, allocations: 414.5 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.4391, allocations: 7.875 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.4391, allocations: 4 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4391, allocations: 0 / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.4391, allocations: 3.984 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4391, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4391, allocations: 4.094 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.4392, allocations: 81.81 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.4393, allocations: 11.92 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.4393, allocations: 4.094 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.4393, allocations: 8 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.4393, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.4393, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.085e-05/0.4394, allocations: 99.27 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4394, allocations: 0 / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001933/0.4396, allocations: 15.95 kB / 1.287 GB, free: 7.816 MB / 0.9825 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.0001637/0.4398, allocations: 91.25 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.4399, allocations: 23.92 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4399, allocations: 4.125 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.4399, allocations: 4 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.44, allocations: 13.83 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.4404, allocations: 149.9 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.484e-05/0.4405, allocations: 87.12 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.4405, allocations: 4 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.4406, allocations: 15.56 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4406, allocations: 0 / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of Templates: time 0.003142/0.4437, allocations: 376 kB / 1.288 GB, free: 7.012 MB / 0.9825 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.764883695170283]