Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001901/0.001901, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002046/0.002046, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.58/1.58, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.06/3.06, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.867e-05, allocations: 12.06 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002004/0.002032, allocations: 0.8343 MB / 0.8117 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.003361, allocations: 0.9262 MB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.003414, allocations: 5.594 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.00345, allocations: 11.86 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.003558, allocations: 15.75 kB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.003786, allocations: 45.88 kB / 0.8127 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.003957, allocations: 119.6 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004058, allocations: 21.23 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.004289, allocations: 71.95 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.26e-05/0.004382, allocations: 44.38 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.00441, allocations: 12 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-05/0.004462, allocations: 12.53 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.406e-05/0.004496, allocations: 24.64 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.004546, allocations: 31.91 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.004777, allocations: 140 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004779, allocations: 1.469 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00478, allocations: 0 / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.004784, allocations: 4 kB / 0.8131 GB, free: 15.73 MB / 0.7761 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.0007142/0.005498, allocations: 456.3 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.005533, allocations: 9.406 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.005819, allocations: 40.77 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.006224, allocations: 177.5 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.006247, allocations: 8.375 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.006268, allocations: 9.75 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.006531, allocations: 117.2 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.006551, allocations: 192 / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.006566, allocations: 5.781 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.006572, allocations: 4.125 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.006799, allocations: 60.42 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.007517, allocations: 0.5807 MB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.007788, allocations: 134.1 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.00792, allocations: 52.42 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.007954, allocations: 8 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.007989, allocations: 33.39 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.007991, allocations: 0 / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.000564/0.008555, allocations: 148.5 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.008646, allocations: 102.8 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.008999, allocations: 220.5 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.009028, allocations: 29.7 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.009153, allocations: 161.5 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.0092, allocations: 27.78 kB / 0.8154 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.009273, allocations: 35.31 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003026/0.009576, allocations: 0.5001 MB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.009711, allocations: 35.97 kB / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.009973, allocations: 167.7 kB / 0.8161 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.01023, allocations: 93.12 kB / 0.8162 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01024, allocations: 0 / 0.8162 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003615/0.0106, allocations: 129.4 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.01062, allocations: 12.89 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01063, allocations: 0 / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.01065, allocations: 0 / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.01077, allocations: 20.7 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.01078, allocations: 0 / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.01087, allocations: 11.25 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.01089, allocations: 12 kB / 0.8164 GB, free: 12.07 MB / 0.7761 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 0.0001682/0.01106, allocations: 164.6 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.01114, allocations: 23.84 kB / 0.8166 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.0114, allocations: 77.95 kB / 0.8167 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.01141, allocations: 3.984 kB / 0.8167 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.01141, allocations: 6.406 kB / 0.8167 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01142, allocations: 0 / 0.8167 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.01172, allocations: 152.7 kB / 0.8168 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01172, allocations: 0 / 0.8168 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.125e-05/0.01182, allocations: 15.98 kB / 0.8168 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.01182, allocations: 3.938 kB / 0.8168 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.01183, allocations: 4.969 kB / 0.8168 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01184, allocations: 0 / 0.8168 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01184, allocations: 1.094 kB / 0.8168 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/0.01238, allocations: 0.4942 MB / 0.8173 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.0124, allocations: 16.89 kB / 0.8173 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.01243, allocations: 4 kB / 0.8173 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.0126, allocations: 17.05 kB / 0.8174 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.01269, allocations: 23.95 kB / 0.8174 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.01269, allocations: 4 kB / 0.8174 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001243/0.01282, allocations: 156.1 kB / 0.8175 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01282, allocations: 0 / 0.8175 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003107/0.01313, allocations: 20 kB / 0.8176 GB, free: 10.82 MB / 0.7761 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 0.0001627/0.01329, allocations: 100.9 kB / 0.8177 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.01362, allocations: 97.09 kB / 0.8177 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01362, allocations: 0 / 0.8177 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.01378, allocations: 48.59 kB / 0.8178 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.01418, allocations: 27.61 kB / 0.8178 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.01468, allocations: 226.1 kB / 0.818 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.01478, allocations: 85.59 kB / 0.8181 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.104e-05/0.01486, allocations: 21.59 kB / 0.8181 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.01494, allocations: 24.48 kB / 0.8182 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01494, allocations: 0 / 0.8182 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.00502/0.01996, allocations: 1.429 MB / 0.8196 GB, free: 8.746 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.220475608948618]