Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.0009965/0.0009965, allocations: 92.22 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.0009706/0.0009706, allocations: 173 kB / 23.03 MB, free: 1.543 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.9599/0.9599, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.071/2.071, allocations: 429.5 MB / 0.6733 GB, free: 4.012 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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.883e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001376/0.001395, allocations: 0.8286 MB / 0.879 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 9.608e-05/0.001491, allocations: 47.03 kB / 0.879 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.001528, allocations: 0 / 0.879 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.001556, allocations: 7.922 kB / 0.879 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.748e-05/0.001623, allocations: 21.56 kB / 0.8791 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.192e-05/0.001655, allocations: 11.98 kB / 0.8791 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.716e-05/0.001733, allocations: 63.83 kB / 0.8791 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.001831, allocations: 31.97 kB / 0.8792 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.599e-05/0.001917, allocations: 48.7 kB / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.641e-05/0.001954, allocations: 19.92 kB / 0.8792 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.001972, allocations: 5.031 kB / 0.8792 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-06/0.001979, allocations: 4 kB / 0.8792 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.002006, allocations: 13.06 kB / 0.8793 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.002033, allocations: 15.97 kB / 0.8793 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.005e-05/0.002123, allocations: 43.77 kB / 0.8793 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.002126, allocations: 5.125 kB / 0.8793 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.72e-07/0.002127, allocations: 0 / 0.8793 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.002131, allocations: 0 / 0.8793 GB, free: 5.16 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.0003504/0.002482, allocations: 409 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.002517, allocations: 8.031 kB / 0.8797 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.002559, allocations: 16.33 kB / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.002691, allocations: 140.4 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.002704, allocations: 4.375 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.002715, allocations: 8.375 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.002837, allocations: 89.59 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.002845, allocations: 4.125 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.002855, allocations: 384 / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.002866, allocations: 8.359 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.002907, allocations: 27.92 kB / 0.88 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.00345, allocations: 0.738 MB / 0.8807 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.003551, allocations: 278.8 kB / 0.881 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.003592, allocations: 126.9 kB / 0.8811 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.003624, allocations: 119.2 kB / 0.8812 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.003674, allocations: 158.1 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.003674, allocations: 0 / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.342e-05/0.003728, allocations: 29.66 kB / 0.8814 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.003798, allocations: 182.5 kB / 0.8816 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.00392, allocations: 203.9 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.003932, allocations: 29.7 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.004013, allocations: 174.4 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.004017, allocations: 4.578 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.004055, allocations: 31.33 kB / 0.882 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.004203, allocations: 0.4884 MB / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.00422, allocations: 7.984 kB / 0.8825 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.004271, allocations: 73.5 kB / 0.8826 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.292e-05/0.004354, allocations: 93.36 kB / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.004356, allocations: 4 kB / 0.8826 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001239/0.00448, allocations: 81.5 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.004496, allocations: 4 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.004504, allocations: 4 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.004521, allocations: 4 kB / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.004586, allocations: 19.98 kB / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.004594, allocations: 8.188 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.00462, allocations: 11.95 kB / 0.8828 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.004628, allocations: 4 kB / 0.8828 GB, free: 1.32 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.0001114/0.004739, allocations: 279.7 kB / 0.883 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.004798, allocations: 152.8 kB / 0.8832 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.004857, allocations: 160.6 kB / 0.8833 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-05/0.004933, allocations: 264.1 kB / 0.8836 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.26e-05/0.005015, allocations: 276 kB / 0.8839 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.011e-05/0.005105, allocations: 272 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.005315, allocations: 0.5038 MB / 0.8846 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-05/0.005358, allocations: 148.8 kB / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.005402, allocations: 152.9 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-05/0.005471, allocations: 264.1 kB / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.591e-05/0.005547, allocations: 272 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.586e-05/0.005623, allocations: 272.1 kB / 0.8857 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.289e-05/0.005696, allocations: 268 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.005873, allocations: 455.8 kB / 0.8864 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.005935, allocations: 152.8 kB / 0.8865 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.006013, allocations: 268.1 kB / 0.8868 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.006079, allocations: 148.8 kB / 0.8869 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.006167, allocations: 268.4 kB / 0.8872 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.006211, allocations: 160.8 kB / 0.8873 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.176e-05/0.006282, allocations: 141.1 kB / 0.8874 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006282, allocations: 7.938 kB / 0.8875 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001653/0.006448, allocations: 11.94 kB / 0.8875 GB, free: 12.32 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.0001213/0.006569, allocations: 214.4 kB / 0.8877 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.61e-05/0.006665, allocations: 31.64 kB / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.006667, allocations: 0 / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.00667, allocations: 4.5 kB / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.007027, allocations: 0.7062 MB / 0.8884 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.007305, allocations: 276.3 kB / 0.8887 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.007344, allocations: 63.28 kB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.007373, allocations: 8.719 kB / 0.8887 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.007391, allocations: 12.5 kB / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.007392, allocations: 0 / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.001707/0.009098, allocations: 323.3 kB / 0.889 GB, free: 10.63 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.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.141224458813667]