Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0009944/0.0009944, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009576/0.0009576, allocations: 169 kB / 23.02 MB, free: 1.539 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.9527/0.9527, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.016/2.016, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.756e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001364/0.001382, allocations: 0.8316 MB / 0.879 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001126/0.001494, allocations: 39.8 kB / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.001534, allocations: 1.312 kB / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.001569, allocations: 11.86 kB / 0.879 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.001639, allocations: 12.95 kB / 0.8791 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.859e-05/0.001678, allocations: 19.98 kB / 0.8791 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.001764, allocations: 63.78 kB / 0.8791 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.001873, allocations: 31.95 kB / 0.8792 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.00196, allocations: 45.44 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.001993, allocations: 7.984 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.002011, allocations: 4 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.002019, allocations: 8 kB / 0.8792 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.002035, allocations: 12.95 kB / 0.8792 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.002067, allocations: 27.86 kB / 0.8793 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.101e-05/0.002148, allocations: 44.86 kB / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.00215, allocations: 0 / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.91e-07/0.00215, allocations: 0 / 0.8793 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.002154, allocations: 0 / 0.8793 GB, free: 5.184 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.0003368/0.002491, allocations: 409.3 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.002524, allocations: 8.031 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.002564, allocations: 18.02 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.002693, allocations: 136.4 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.002706, allocations: 8.375 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.002716, allocations: 5.25 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.002847, allocations: 88.09 kB / 0.8799 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.002856, allocations: 2.812 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.002868, allocations: 8.375 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.002877, allocations: 384 / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.002925, allocations: 31.84 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.00344, allocations: 0.7492 MB / 0.8807 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.003545, allocations: 265.4 kB / 0.881 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.003583, allocations: 128.8 kB / 0.8811 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.003612, allocations: 127.2 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.003652, allocations: 152.6 kB / 0.8814 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.003653, allocations: 0 / 0.8814 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.696e-05/0.00371, allocations: 37.66 kB / 0.8814 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.003759, allocations: 175.2 kB / 0.8816 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.003871, allocations: 204.1 kB / 0.8818 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.003878, allocations: 27.36 kB / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.003944, allocations: 174.5 kB / 0.882 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.003946, allocations: 0 / 0.882 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.003974, allocations: 31.31 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.00408, allocations: 0.4884 MB / 0.8825 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.004092, allocations: 8.484 kB / 0.8825 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.716e-05/0.004129, allocations: 79.28 kB / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.986e-05/0.004199, allocations: 82.97 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.004201, allocations: 9.516 kB / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001103/0.004312, allocations: 85.69 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.004325, allocations: 8 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.004329, allocations: 0 / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.004343, allocations: 4 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.004396, allocations: 15.94 kB / 0.8827 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.934e-06/0.004403, allocations: 7.922 kB / 0.8828 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.004426, allocations: 7.953 kB / 0.8828 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.004431, allocations: 8 kB / 0.8828 GB, free: 1.355 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 8.335e-05/0.004515, allocations: 283.6 kB / 0.883 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.004559, allocations: 152.8 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.0046, allocations: 164.8 kB / 0.8833 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.131e-05/0.004652, allocations: 268 kB / 0.8836 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.328e-05/0.004705, allocations: 268 kB / 0.8839 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.528e-05/0.00477, allocations: 276 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.004932, allocations: 0.5116 MB / 0.8846 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001791/0.005111, allocations: 148.9 kB / 0.8848 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.005149, allocations: 148.8 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.053e-05/0.0052, allocations: 264.1 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.005257, allocations: 276 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.915e-05/0.005307, allocations: 264.1 kB / 0.8857 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.396e-05/0.00536, allocations: 264.1 kB / 0.8859 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.005478, allocations: 459.9 kB / 0.8864 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.005523, allocations: 160.8 kB / 0.8865 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.005586, allocations: 268.1 kB / 0.8868 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.036e-05/0.005636, allocations: 144.9 kB / 0.8869 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.005692, allocations: 268.3 kB / 0.8872 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.005725, allocations: 160.8 kB / 0.8873 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.982e-05/0.005775, allocations: 140.7 kB / 0.8874 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.005775, allocations: 0 / 0.8874 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000149/0.005924, 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 9.009e-05/0.006014, allocations: 214.4 kB / 0.8877 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.517e-05/0.006099, allocations: 39.58 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.006101, allocations: 0 / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.006102, allocations: 4 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.006373, allocations: 0.7062 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.0002842/0.006657, allocations: 269.7 kB / 0.8886 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.731e-05/0.006695, allocations: 67.22 kB / 0.8887 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.998e-05/0.006724, allocations: 13.22 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.006746, allocations: 8.5 kB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.006746, allocations: 0 / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of Templates: time 0.001711/0.008457, allocations: 323.7 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_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_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.096617686096579]