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.001194/0.001194, allocations: 93.06 kB / 19.65 MB, free: 276 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.001152/0.001152, allocations: 169 kB / 23.02 MB, free: 1.547 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.9504/0.9504, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.099/2.099, 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_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 2.204e-06/2.204e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.41e-05, allocations: 8.062 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002308/0.002342, allocations: 0.8222 MB / 0.879 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.002494, allocations: 40.34 kB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.002549, allocations: 0.5938 kB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.736e-05/0.002597, allocations: 12.47 kB / 0.879 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/0.002685, allocations: 11.88 kB / 0.8791 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.351e-05/0.002739, allocations: 16.64 kB / 0.8791 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.002862, allocations: 67.81 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.002994, allocations: 25.58 kB / 0.8792 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.003112, allocations: 51.77 kB / 0.8792 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.003163, allocations: 15.92 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.003185, allocations: 4 kB / 0.8792 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.003196, allocations: 9.75 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.003217, allocations: 11.92 kB / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.003249, allocations: 19.92 kB / 0.8793 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.003359, allocations: 39.83 kB / 0.8793 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.003363, allocations: 2.812 kB / 0.8793 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.422e-06/0.003365, allocations: 0 / 0.8793 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.003369, allocations: 0 / 0.8793 GB, free: 5.203 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.0004609/0.00383, allocations: 412.2 kB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.003876, allocations: 8.031 kB / 0.8797 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.003926, allocations: 12.89 kB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.004103, allocations: 140.4 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.004118, allocations: 8.375 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.004134, allocations: 13.08 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.004295, allocations: 83.27 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.004304, allocations: 192 / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.004315, allocations: 12.25 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.004324, allocations: 384 / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.681e-05/0.004391, allocations: 27.92 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.005033, allocations: 0.7465 MB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.005141, allocations: 269.6 kB / 0.881 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.005185, allocations: 130.9 kB / 0.8811 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.00522, allocations: 127.2 kB / 0.8812 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/0.005274, allocations: 156.6 kB / 0.8814 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.005276, allocations: 0 / 0.8814 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.431e-05/0.00535, allocations: 33.66 kB / 0.8814 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.005423, allocations: 174.5 kB / 0.8816 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.005572, allocations: 200.3 kB / 0.8818 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.005582, allocations: 25.7 kB / 0.8818 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.005672, allocations: 182.4 kB / 0.882 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-06/0.005676, allocations: 0 / 0.882 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.005721, allocations: 27.33 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.005863, allocations: 0.4962 MB / 0.8825 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.005882, allocations: 4 kB / 0.8825 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.00594, allocations: 77.48 kB / 0.8826 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.065e-05/0.00603, allocations: 85.38 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.006033, allocations: 4 kB / 0.8826 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001775/0.00621, allocations: 81.5 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.00623, allocations: 8 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.006237, allocations: 0 / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.006254, allocations: 4 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.00633, allocations: 15.98 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.006339, allocations: 3.938 kB / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.00638, allocations: 16.2 kB / 0.8828 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.006389, allocations: 4 kB / 0.8828 GB, free: 1.363 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.000118/0.006507, allocations: 283.6 kB / 0.883 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.006582, allocations: 160.8 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.006645, allocations: 160.6 kB / 0.8833 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.517e-05/0.006721, allocations: 264.1 kB / 0.8836 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.31e-05/0.006794, allocations: 268 kB / 0.8838 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.565e-05/0.006889, allocations: 280 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.00713, allocations: 0.5038 MB / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.49e-05/0.007175, allocations: 152.8 kB / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.007217, allocations: 152.9 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/0.01031, allocations: 264.1 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/0.01038, allocations: 272 kB / 0.8854 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.335e-05/0.01043, allocations: 264.1 kB / 0.8857 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.869e-05/0.01049, allocations: 276 kB / 0.8859 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.01062, allocations: 447.9 kB / 0.8864 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.01068, allocations: 156.8 kB / 0.8865 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.01074, allocations: 272.1 kB / 0.8868 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.0108, allocations: 152.8 kB / 0.8869 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.01086, allocations: 264.4 kB / 0.8872 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.01089, allocations: 152.8 kB / 0.8873 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.424e-05/0.01096, allocations: 149 kB / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01096, allocations: 0 / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001573/0.01112, allocations: 8 kB / 0.8875 GB, free: 12.36 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001325/0.01125, allocations: 218.4 kB / 0.8877 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.01136, allocations: 27.66 kB / 0.8877 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.01136, allocations: 4 kB / 0.8877 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.01136, allocations: 0.5 kB / 0.8877 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.01178, allocations: 0.7101 MB / 0.8884 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.0121, allocations: 273.7 kB / 0.8886 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.946e-05/0.01215, allocations: 67.22 kB / 0.8887 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.01219, allocations: 4.734 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.01221, allocations: 8.5 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.01221, allocations: 0 / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.002374/0.01459, allocations: 327.6 kB / 0.889 GB, free: 10.66 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] 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","",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.249010880943388]