Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001487/0.001487, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0015/0.0015, allocations: 177 kB / 23.36 MB, free: 1.133 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.9781/0.9781, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.524/2.524, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.265e-05, allocations: 5.125 kB / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.00127/0.001283, allocations: 0.7615 MB / 0.8394 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007595/0.002042, allocations: 0.8469 MB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.002074, allocations: 4 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.002095, allocations: 3.938 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.00215, allocations: 8 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.666e-05/0.002217, allocations: 7.984 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.264e-05/0.002279, allocations: 55.78 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.268e-05/0.002342, allocations: 7.984 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.302e-05/0.002415, allocations: 23.92 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.00245, allocations: 15.97 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.002467, allocations: 4 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.002477, allocations: 4 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.002494, allocations: 7.938 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.002513, allocations: 15.98 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.994e-05/0.002583, allocations: 39.83 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002585, allocations: 0 / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002585, allocations: 0 / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.002589, allocations: 0 / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002544/0.002843, allocations: 252.9 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.002872, allocations: 8.625 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.002895, allocations: 4.938 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.324e-05/0.002968, allocations: 113.7 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.002976, allocations: 384 / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-06/0.002982, allocations: 8.375 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.923e-05/0.003082, allocations: 70.86 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.003088, allocations: 192 / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.003093, allocations: 384 / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.003098, allocations: 384 / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.003119, allocations: 7.938 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.0033, allocations: 156.3 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.003344, allocations: 22.52 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.003363, allocations: 8.859 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.003374, allocations: 96 / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.003394, allocations: 46.61 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.003394, allocations: 0 / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.541e-05/0.00349, allocations: 41.81 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.003512, allocations: 55.41 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.162e-05/0.003564, allocations: 114.9 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.003573, allocations: 25.7 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.003599, allocations: 84.14 kB / 0.8414 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.003613, allocations: 7.906 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.003638, allocations: 21.7 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.003705, allocations: 318.8 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.003717, allocations: 12 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/0.003726, allocations: 3.984 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.00375, allocations: 16.84 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.003752, allocations: 0 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.181e-05/0.003793, allocations: 37.69 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.003803, allocations: 8 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.003806, allocations: 3.938 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.003817, allocations: 7.875 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.003873, allocations: 11.98 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.003876, allocations: 4.062 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.0039, allocations: 8 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.003905, allocations: 0 / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 4.725e-05/0.003952, allocations: 117.8 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.003967, allocations: 3.984 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.004027, allocations: 41.69 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.004029, allocations: 3.938 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.00403, allocations: 0 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004033, allocations: 4 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.746e-05/0.004111, allocations: 73.83 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004112, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.004141, allocations: 19.92 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.004144, allocations: 4 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-06/0.004148, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004148, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.004149, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.5e-05/0.004214, allocations: 135.5 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.00422, allocations: 3.953 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-06/0.004227, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.004262, allocations: 7.984 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.004286, allocations: 11.98 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.004289, allocations: 3.938 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.318e-05/0.004302, allocations: 20.84 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004302, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001127/0.004415, allocations: 4 kB / 0.8423 GB, free: 10.16 MB / 0.8073 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 (3): * Single equations (assignments): 3 * 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.092e-05/0.004476, allocations: 76.36 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.616e-05/0.004532, allocations: 20.84 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.004534, allocations: 4 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.00455, allocations: 9.188 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.004672, allocations: 17.7 kB / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001878/0.00486, allocations: 124.5 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.897e-05/0.004889, allocations: 59.28 kB / 0.8426 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.835e-05/0.004907, allocations: 7.938 kB / 0.8426 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.004949, allocations: 55.31 kB / 0.8427 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of SimCode: time 3.61e-07/0.004949, allocations: 0 / 0.8427 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.001825/0.006774, allocations: 0.6798 MB / 0.8433 GB, free: 9.051 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.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.316591344773769]