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.001972/0.001972, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002592/0.002592, allocations: 159.3 kB / 22.45 MB, free: 5.375 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.562/1.562, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.201/3.201, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.702e-05/3.9e-05, allocations: 2.281 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.003277/0.003316, allocations: 0.7999 MB / 1.001 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.003505, allocations: 43.78 kB / 1.001 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.003585, allocations: 0 / 1.001 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.237e-05/0.003638, allocations: 7.875 kB / 1.001 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.003747, allocations: 11.92 kB / 1.001 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.161e-05/0.003819, allocations: 15.98 kB / 1.001 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.003995, allocations: 63.78 kB / 1.001 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.004145, allocations: 31.91 kB / 1.001 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.004246, allocations: 35.91 kB / 1.001 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.004306, allocations: 23.89 kB / 1.001 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.004329, allocations: 12 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.004342, allocations: 4 kB / 1.001 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.004367, allocations: 15.94 kB / 1.001 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.004401, allocations: 15.92 kB / 1.001 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.00453, allocations: 71.7 kB / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004533, allocations: 0 / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004533, allocations: 0 / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.004538, allocations: 0 / 1.001 GB, free: 6.113 MB / 0.9512 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.0004702/0.005008, allocations: 310 kB / 1.002 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.005049, allocations: 8.031 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.005086, allocations: 20.83 kB / 1.002 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.005294, allocations: 133.6 kB / 1.002 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.00531, allocations: 4.375 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.005328, allocations: 8.375 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.005513, allocations: 99.8 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.005522, allocations: 192 / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.005534, allocations: 4.359 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005541, allocations: 4.375 kB / 1.002 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.531e-05/0.005626, allocations: 47.8 kB / 1.002 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.006135, allocations: 348.5 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.259e-05/0.006208, allocations: 45.25 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.006243, allocations: 13.78 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.006255, allocations: 0 / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.00629, allocations: 38.56 kB / 1.002 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.006291, allocations: 0 / 1.002 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001949/0.006486, allocations: 53.58 kB / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.006551, allocations: 77.11 kB / 1.002 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.006694, allocations: 131.2 kB / 1.003 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.006713, allocations: 29.7 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.006796, allocations: 115.9 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.006806, allocations: 7.938 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.006842, allocations: 17.72 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.007008, allocations: 310.8 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.007027, allocations: 8 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.007054, allocations: 17.7 kB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.007105, allocations: 33.66 kB / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007107, allocations: 0 / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.895e-05/0.007196, allocations: 61.58 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.007209, allocations: 4 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.007213, allocations: 0 / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.007229, allocations: 4 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.007291, allocations: 4 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.007299, allocations: 3.938 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.00733, allocations: 15.88 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007335, allocations: 4 kB / 1.003 GB, free: 3.957 MB / 0.9512 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.0001052/0.00744, allocations: 113.8 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.007482, allocations: 12.02 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.007504, allocations: 7.453 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.007505, allocations: 0 / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.00751, allocations: 0 / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.007518, allocations: 7.938 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.00797, allocations: 410.5 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.007975, allocations: 4 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.007993, allocations: 96 / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.008001, allocations: 7.984 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.008009, allocations: 3.938 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.00801, allocations: 4.062 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008011, allocations: 0 / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.524e-05/0.008106, allocations: 81.81 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.008127, allocations: 8 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.008141, allocations: 3.938 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.00816, allocations: 4 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.008172, allocations: 0 / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.008174, allocations: 0 / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.45e-05/0.008258, allocations: 106 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.008258, allocations: 0 / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001909/0.008449, allocations: 15.98 kB / 1.004 GB, free: 3.109 MB / 0.9512 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.0001179/0.008567, allocations: 99.23 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.245e-05/0.008649, allocations: 15.94 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008651, allocations: 0 / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.941e-05/0.00867, allocations: 4 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.008825, allocations: 8 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.009165, allocations: 166.5 kB / 1.004 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.435e-05/0.00925, allocations: 79.58 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.00928, allocations: 7.984 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.009305, allocations: 8.5 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/0.009305, allocations: 0 / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of Templates: time 0.003072/0.01238, allocations: 332.7 kB / 1.005 GB, free: 2.34 MB / 0.9512 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/jenkins/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: 8.789522375911474]