Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001042/0.001042, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001079/0.001079, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 18.57 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 0.9658/0.9658, allocations: 177.1 MB / 203.4 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 179] 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 2.093/2.093, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.615e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002173/0.002199, allocations: 0.8282 MB / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00018/0.002379, allocations: 41.44 kB / 0.879 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.002445, allocations: 4 kB / 0.879 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.92e-05/0.002494, allocations: 7.875 kB / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.002602, allocations: 17.44 kB / 0.8791 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.943e-05/0.002661, allocations: 24.47 kB / 0.8791 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.00278, allocations: 57.75 kB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.002931, allocations: 27.98 kB / 0.8792 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.342e-05/0.003024, allocations: 39.89 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.003086, allocations: 15.91 kB / 0.8792 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.003113, allocations: 8 kB / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.003124, allocations: 5.344 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.003144, allocations: 19.92 kB / 0.8792 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.003171, allocations: 19.92 kB / 0.8793 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.311e-05/0.003264, allocations: 45.05 kB / 0.8793 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003267, allocations: 0 / 0.8793 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003267, allocations: 0 / 0.8793 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003272, allocations: 0 / 0.8793 GB, free: 5.176 MB / 0.8386 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.0003551/0.003627, allocations: 409.9 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.003664, allocations: 8.031 kB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.003702, allocations: 20.89 kB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.003851, allocations: 134.8 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.003864, allocations: 12.36 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.003877, allocations: 4.375 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.003999, allocations: 89.55 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.004009, allocations: 192 / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.00402, allocations: 4.375 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.004031, allocations: 4.375 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/0.004081, allocations: 26.11 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.004484, allocations: 466.3 kB / 0.8804 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.964e-05/0.004534, allocations: 54.19 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.004565, allocations: 31.42 kB / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.004572, allocations: 0 / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.004596, allocations: 41.42 kB / 0.8806 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.004597, allocations: 0 / 0.8806 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.004725, allocations: 37.64 kB / 0.8806 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.004759, allocations: 85.11 kB / 0.8807 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.00486, allocations: 188.3 kB / 0.8809 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.004869, allocations: 25.7 kB / 0.8809 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.004937, allocations: 158.7 kB / 0.881 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.377e-06/0.004947, allocations: 15.81 kB / 0.881 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.004977, allocations: 27.62 kB / 0.8811 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.005102, allocations: 496.1 kB / 0.8815 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.005116, allocations: 4 kB / 0.8815 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.072e-05/0.005137, allocations: 23.36 kB / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.572e-05/0.005172, allocations: 31.31 kB / 0.8816 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005174, allocations: 0 / 0.8816 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.119e-05/0.005235, allocations: 53.64 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.005249, allocations: 4 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005254, allocations: 4.062 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.005272, allocations: 0 / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.005328, allocations: 11.94 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.005335, allocations: 3.938 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.497e-05/0.00535, allocations: 4 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.005357, allocations: 4 kB / 0.8817 GB, free: 2.496 MB / 0.8386 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 6.653e-05/0.005423, allocations: 152.6 kB / 0.8818 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.00545, allocations: 11.95 kB / 0.8818 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.005477, allocations: 7.453 kB / 0.8818 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.00548, allocations: 4 kB / 0.8818 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.005485, allocations: 4 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.00549, allocations: 3.938 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.005774, allocations: 0.5422 MB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.005776, allocations: 0 / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.005786, allocations: 4 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.005788, allocations: 0 / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.005796, allocations: 7.938 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.005797, allocations: 0 / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005797, allocations: 0 / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.749e-05/0.005855, allocations: 88.08 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.005872, allocations: 15.98 kB / 0.8825 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.005883, allocations: 3.938 kB / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.005891, allocations: 0 / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.005905, allocations: 0 / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.005906, allocations: 4 kB / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.005958, allocations: 147.2 kB / 0.8826 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.005958, allocations: 0 / 0.8826 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001239/0.006082, allocations: 15.88 kB / 0.8827 GB, free: 1.402 MB / 0.8386 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 6.798e-05/0.00615, allocations: 91.34 kB / 0.8827 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.619e-05/0.006226, allocations: 31.61 kB / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.006228, allocations: 4 kB / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.006237, allocations: 7.688 kB / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.006347, allocations: 11.98 kB / 0.8828 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.006607, allocations: 170.6 kB / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.437e-05/0.006641, allocations: 59.34 kB / 0.883 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.598e-05/0.006667, allocations: 4.25 kB / 0.883 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.006691, allocations: 12.5 kB / 0.883 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.006692, allocations: 0 / 0.883 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of Templates: time 0.002011/0.008703, allocations: 351.1 kB / 0.8834 GB, free: 0.5977 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.45876525901258]