Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001328/0.001328, 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.001793/0.001793, 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 1.053/1.053, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.577/2.577, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.124e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001584/0.001605, allocations: 0.8802 MB / 0.8396 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.00261, allocations: 0.9403 MB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.002665, allocations: 0 / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.002697, allocations: 7.875 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.319e-05/0.00279, allocations: 27.69 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.002976, allocations: 47.86 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.003094, allocations: 115.6 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.003178, allocations: 21.94 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.003374, allocations: 87.73 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.003443, allocations: 35.89 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.003461, allocations: 8 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-05/0.003514, allocations: 8 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.003531, allocations: 15.92 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.003554, allocations: 27.91 kB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003676, allocations: 79.55 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003678, allocations: 0 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003679, allocations: 0 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.003683, allocations: 0 / 0.8409 GB, free: 11.81 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005868/0.00427, allocations: 308.4 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.004301, allocations: 12.62 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.004438, allocations: 24.92 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.004594, allocations: 150.2 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.00461, allocations: 12.31 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.004619, allocations: 4.375 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.004748, allocations: 104.8 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.004756, allocations: 192 / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.004764, allocations: 4.375 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.00477, allocations: 384 / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.797e-05/0.004808, allocations: 27.86 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.005102, allocations: 356.5 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.005181, allocations: 67.78 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.005207, allocations: 26.58 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.005223, allocations: 4 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.005243, allocations: 34.56 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.005245, allocations: 0 / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001584/0.005403, allocations: 81.67 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.005442, allocations: 106.8 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.005517, allocations: 149.8 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.005535, allocations: 29.7 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.005571, allocations: 100.1 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.005598, allocations: 35.7 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.005633, allocations: 29.69 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.005704, allocations: 318.8 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.005723, allocations: 8 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.005753, allocations: 42.78 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.523e-05/0.005809, allocations: 50.48 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005811, allocations: 0 / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.516e-05/0.005886, allocations: 69.59 kB / 0.843 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.0059, allocations: 7.938 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.005907, allocations: 0 / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.00592, allocations: 4 kB / 0.843 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.005978, allocations: 8 kB / 0.843 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.005982, allocations: 7.969 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.006018, allocations: 15.95 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.006024, allocations: 4 kB / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.396e-05/0.006088, allocations: 121.7 kB / 0.8432 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.00613, allocations: 7.984 kB / 0.8432 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.602e-05/0.006206, allocations: 57.97 kB / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.006209, allocations: 0 / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.006212, allocations: 7.984 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.006215, allocations: 0 / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.006373, allocations: 89.92 kB / 0.8433 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.006374, allocations: 4 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.006407, allocations: 15.94 kB / 0.8433 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.00641, allocations: 3.984 kB / 0.8433 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.006417, allocations: 4 kB / 0.8433 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006418, allocations: 0 / 0.8433 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.00642, allocations: 3.938 kB / 0.8434 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.006546, allocations: 306 kB / 0.8436 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-06/0.006555, allocations: 11.89 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.00657, allocations: 8 kB / 0.8437 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.006651, allocations: 7.984 kB / 0.8437 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.006705, allocations: 35.89 kB / 0.8437 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.00671, allocations: 0 / 0.8437 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.549e-05/0.006735, allocations: 35.45 kB / 0.8437 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006735, allocations: 0 / 0.8437 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001881/0.006923, allocations: 19.95 kB / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 8.14e-05/0.007005, allocations: 76.42 kB / 0.8438 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.289e-05/0.007098, allocations: 49 kB / 0.8439 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.0071, allocations: 0 / 0.8439 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.007138, allocations: 32.78 kB / 0.8439 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.007371, allocations: 10.06 kB / 0.8439 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.00765, allocations: 210.6 kB / 0.8441 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.007694, allocations: 63.34 kB / 0.8442 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.046e-05/0.007745, allocations: 16.77 kB / 0.8442 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.00781, allocations: 63.38 kB / 0.8443 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of SimCode: time 6.12e-07/0.00781, allocations: 4 kB / 0.8443 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of Templates: time 0.002808/0.01062, allocations: 1.214 MB / 0.8454 GB, free: 6.859 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.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.5184763222932816]