Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001762/0.001762, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002303/0.002303, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.224/3.224, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002187/0.002187, allocations: 63.56 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3626, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002087/0.3647, allocations: 0.8374 MB / 1.355 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.3648, allocations: 39.78 kB / 1.355 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.3648, allocations: 0 / 1.355 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.3649, allocations: 7.922 kB / 1.355 GB, free: 7.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.158e-05/0.365, allocations: 15.88 kB / 1.355 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.484e-05/0.365, allocations: 15.98 kB / 1.355 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.3651, allocations: 63.78 kB / 1.355 GB, free: 6.977 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.3653, allocations: 35.95 kB / 1.355 GB, free: 6.941 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.3653, allocations: 27.88 kB / 1.355 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.3654, allocations: 27.84 kB / 1.355 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3654, allocations: 8 kB / 1.355 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.3654, allocations: 4 kB / 1.355 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.3655, allocations: 15.94 kB / 1.355 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.3655, allocations: 35.73 kB / 1.355 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.3656, allocations: 79.52 kB / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3656, allocations: 0 / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3656, allocations: 0 / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.3656, allocations: 0 / 1.355 GB, free: 6.746 MB / 1.045 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.0004277/0.3661, allocations: 313.9 kB / 1.356 GB, free: 6.406 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3661, allocations: 12.03 kB / 1.356 GB, free: 6.395 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.3661, allocations: 8.891 kB / 1.356 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3663, allocations: 134.4 kB / 1.356 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3663, allocations: 8.312 kB / 1.356 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3664, allocations: 8.375 kB / 1.356 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3665, allocations: 97.88 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3665, allocations: 4.188 kB / 1.356 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3665, allocations: 7.938 kB / 1.356 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3665, allocations: 7.984 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.149e-05/0.3666, allocations: 35.92 kB / 1.356 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.3672, allocations: 399.8 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.3673, allocations: 41.19 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.3673, allocations: 21.83 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3673, allocations: 4 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3673, allocations: 30.56 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3673, allocations: 0 / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.3675, allocations: 61.72 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.3676, allocations: 77.11 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.3677, allocations: 156.5 kB / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.3677, allocations: 25.7 kB / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.3678, allocations: 112 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.3678, allocations: 3.953 kB / 1.357 GB, free: 5.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.3679, allocations: 17.72 kB / 1.357 GB, free: 4.996 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.368, allocations: 318.8 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.368, allocations: 12 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.368, allocations: 25.64 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.716e-05/0.3681, allocations: 25.72 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3681, allocations: 0 / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.659e-05/0.3682, allocations: 57.59 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3682, allocations: 7.984 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3682, allocations: 12 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3682, allocations: 0 / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.3683, allocations: 4 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3683, allocations: 0 / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.3683, allocations: 7.953 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.3683, allocations: 0 / 1.357 GB, free: 4.508 MB / 1.045 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 8.809e-05/0.3684, allocations: 118.4 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.3684, allocations: 7.953 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.3685, allocations: 19.73 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3685, allocations: 7.938 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3685, allocations: 4 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3685, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.3689, allocations: 445.7 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3689, allocations: 4 kB / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.3689, allocations: 0 / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3689, allocations: 4 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.3689, allocations: 4.062 kB / 1.358 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3689, allocations: 3.938 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3689, allocations: 0 / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.975e-05/0.369, allocations: 81.88 kB / 1.358 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.369, allocations: 7.953 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3691, allocations: 0 / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.389e-05/0.3691, allocations: 12.02 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.3691, allocations: 0 / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3691, allocations: 0 / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001006/0.3692, allocations: 126.7 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3692, allocations: 0 / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001926/0.3694, allocations: 8 kB / 1.358 GB, free: 3.582 MB / 1.045 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.000102/0.3695, allocations: 95.19 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.589e-05/0.3696, allocations: 20.06 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3696, allocations: 3.938 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/0.3696, allocations: 7.938 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.3697, allocations: 15.92 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.3701, allocations: 180.5 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3704, allocations: 0.6965 MB / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.3704, allocations: 11.44 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3704, allocations: 0 / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of Templates: time 0.002727/0.3732, allocations: 0.8674 MB / 1.36 GB, free: 1.613 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 11.33413845198811]