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.001513/0.001513, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001533/0.001533, allocations: 157.5 kB / 23.01 MB, free: 4.949 MB / 14.72 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.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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.931/2.931, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 63.89 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9611/0.9634, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002192/0.9656, allocations: 0.8252 MB / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.9669, allocations: 0.9108 MB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.9669, allocations: 5.25 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.967, allocations: 10.73 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.9671, allocations: 26.33 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.9674, allocations: 39.89 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.9676, allocations: 123.5 kB / 1.189 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.9677, allocations: 18.94 kB / 1.189 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.9679, allocations: 63.09 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.968, allocations: 47.59 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.968, allocations: 8.25 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.591e-05/0.9681, allocations: 21.08 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.9681, allocations: 27.41 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.9682, allocations: 36.09 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.9684, allocations: 122.8 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9684, allocations: 0 / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9684, allocations: 4.969 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.9684, allocations: 0 / 1.189 GB, free: 14.77 MB / 1.076 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.0006879/0.9691, allocations: 367.1 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.9691, allocations: 13.94 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.9694, allocations: 33.5 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.9699, allocations: 195.8 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.9699, allocations: 7.062 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.97, allocations: 7.281 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.9703, allocations: 120 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.9703, allocations: 4.547 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.9703, allocations: 5.219 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.9703, allocations: 1.844 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.9706, allocations: 76.41 kB / 1.19 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.9711, allocations: 449.3 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.9714, allocations: 107.2 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.9715, allocations: 52.03 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.9715, allocations: 2.641 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.9716, allocations: 33.67 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.9716, allocations: 0 / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0006211/0.9722, allocations: 166.6 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.9722, allocations: 105.4 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.9723, allocations: 145.1 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.9723, allocations: 32.75 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.9724, allocations: 105 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.9724, allocations: 25.58 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.9725, allocations: 33.95 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.9725, allocations: 329.9 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.9727, allocations: 40.05 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.9729, allocations: 163 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.9732, allocations: 94.41 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.9732, allocations: 4 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003775/0.9735, allocations: 140.8 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.9736, allocations: 9.5 kB / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.9736, allocations: 1.578 kB / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.9736, allocations: 1.094 kB / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.9737, allocations: 25.56 kB / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.9737, allocations: 4 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.9739, allocations: 18.64 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.9739, allocations: 3.438 kB / 1.192 GB, free: 12.52 MB / 1.076 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.949e-05/0.974, allocations: 120.4 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.974, allocations: 14.38 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.9743, allocations: 92.44 kB / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9743, allocations: 2.781 kB / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9743, allocations: 4 kB / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9743, allocations: 5.922 kB / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.9745, allocations: 140.4 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.9745, allocations: 0.7969 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.9747, allocations: 18.45 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.9747, allocations: 1.219 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.9747, allocations: 2.484 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.9747, allocations: 2.859 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9747, allocations: 0 / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.9751, allocations: 382.8 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.9751, allocations: 12.52 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.9751, allocations: 3.219 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.9754, allocations: 13.84 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.9754, allocations: 23.2 kB / 1.192 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.9754, allocations: 9.281 kB / 1.192 GB, free: 11.85 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.561e-05/0.9755, allocations: 107.5 kB / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9755, allocations: 5.531 kB / 1.193 GB, free: 11.76 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003444/0.9759, allocations: 17.66 kB / 1.193 GB, free: 11.76 MB / 1.076 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 9.276e-05/0.9759, allocations: 100.2 kB / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.9763, allocations: 94.95 kB / 1.193 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9763, allocations: 0 / 1.193 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.9765, allocations: 59.27 kB / 1.193 GB, free: 11.63 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.977, allocations: 14.17 kB / 1.193 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.9774, allocations: 203.6 kB / 1.193 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.802e-05/0.9775, allocations: 88.02 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.854e-05/0.9776, allocations: 16.16 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.9776, allocations: 27.95 kB / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of SimCode: time 3.9e-07/0.9776, allocations: 0 / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of Templates: time 0.00518/0.9828, allocations: 1.402 MB / 1.195 GB, free: 11.2 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.225408639991656]