Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 118.5 kB / 17.13 MB, free: 5.781 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.001509/0.001509, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.463/1.463, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.777/2.777, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 1.057 GB, free: 1.988 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4479, allocations: 160.7 MB / 1.214 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002294/0.4502, allocations: 0.831 MB / 1.215 GB, free: 124 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001097/0.4503, allocations: 35.84 kB / 1.215 GB, free: 88 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.4504, allocations: 4 kB / 1.215 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.4504, allocations: 7.875 kB / 1.215 GB, free: 76 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.298e-05/0.4505, allocations: 11.88 kB / 1.215 GB, free: 64 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.973e-05/0.4505, allocations: 15.98 kB / 1.215 GB, free: 48 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.4507, allocations: 75.81 kB / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.4508, allocations: 35.91 kB / 1.215 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.4509, allocations: 31.8 kB / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.451, allocations: 31.8 kB / 1.215 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.451, allocations: 4 kB / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.451, allocations: 8 kB / 1.215 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.451, allocations: 15.92 kB / 1.215 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.4511, allocations: 27.81 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.4512, allocations: 83.5 kB / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4512, allocations: 0 / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4512, allocations: 8 kB / 1.215 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.4512, allocations: 0 / 1.215 GB, free: 15.73 MB / 0.9669 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.0005769/0.4518, allocations: 375.1 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4518, allocations: 12.03 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.4519, allocations: 12.84 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.4521, allocations: 188.2 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.4521, allocations: 8.375 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.4521, allocations: 16.31 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.4523, allocations: 87.95 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4523, allocations: 192 / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.4524, allocations: 11.88 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.4524, allocations: 7.984 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.338e-05/0.4525, allocations: 35.92 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.4531, allocations: 440.7 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.833e-05/0.4531, allocations: 41.25 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.4532, allocations: 17.78 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.4532, allocations: 0 / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4532, allocations: 34.56 kB / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4532, allocations: 4 kB / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002079/0.4534, allocations: 61.52 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.4535, allocations: 77.11 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.4537, allocations: 160.1 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4537, allocations: 25.7 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.4538, allocations: 104.1 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.4538, allocations: 7.891 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.4539, allocations: 17.92 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.454, allocations: 326.8 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.4541, allocations: 8 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.4541, allocations: 17.66 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.735e-05/0.4541, allocations: 25.72 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4541, allocations: 3.938 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001009/0.4542, allocations: 65.58 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4543, allocations: 4 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4543, allocations: 3.938 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4543, allocations: 0 / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.4543, allocations: 8 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.4544, allocations: 0 / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.4544, allocations: 4 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.4544, allocations: 4 kB / 1.217 GB, free: 13.3 MB / 0.9669 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 9.995e-05/0.4545, allocations: 117.9 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.4545, allocations: 11.95 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.4546, allocations: 7.812 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.4546, allocations: 4 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4546, allocations: 0 / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.4546, allocations: 0 / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.4551, allocations: 478.7 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4551, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.4551, allocations: 12.05 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4551, allocations: 0 / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.4551, allocations: 0 / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.4551, allocations: 7.938 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4551, allocations: 0 / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.139e-05/0.4552, allocations: 73.89 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.4553, allocations: 93.08 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.4553, allocations: 4 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/0.4553, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.4553, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.4554, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001094/0.4555, allocations: 121.3 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4555, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001866/0.4557, allocations: 11.94 kB / 1.218 GB, free: 12.25 MB / 0.9669 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.0001463/0.4559, allocations: 107.2 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.456, allocations: 19.94 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.456, allocations: 0 / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.255e-06/0.456, allocations: 4 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.4561, allocations: 20.14 kB / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.4566, allocations: 192.2 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.457, allocations: 0.6965 MB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.457, allocations: 11.44 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.457, allocations: 0 / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of Templates: time 0.002667/0.4597, allocations: 0.8723 MB / 1.22 GB, free: 10.26 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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: 10.752747053047642]