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.001309/0.001309, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001158/0.001158, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.03/1.03, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.989/1.989, allocations: 377.9 MB / 0.6239 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] 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.695e-06/2.695e-06, allocations: 0 / 0.8121 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/3.049e-05, allocations: 7.188 kB / 0.8121 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001579/0.001609, allocations: 0.8472 MB / 0.8129 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.002635, allocations: 0.9305 MB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.00269, allocations: 0 / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.002721, allocations: 7.875 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.002822, allocations: 34.12 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.003041, allocations: 51.81 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.003153, allocations: 115.6 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.003249, allocations: 13.31 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.003459, allocations: 93.25 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.003523, allocations: 27.91 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.00354, allocations: 8 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.53e-05/0.003586, allocations: 8.703 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.003605, allocations: 19.92 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.003629, allocations: 24.73 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.003765, allocations: 71.67 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.003768, allocations: 9.516 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003769, allocations: 0 / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003773, allocations: 0 / 0.8143 GB, free: 15.15 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.0003754/0.004148, allocations: 432 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.004186, allocations: 14.62 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.004321, allocations: 20.84 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.004465, allocations: 156.4 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.00448, allocations: 4.375 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.004491, allocations: 8.375 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.004659, allocations: 109.9 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.004665, allocations: 0.7188 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.004674, allocations: 5.094 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004679, allocations: 384 / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.678e-05/0.004716, allocations: 20.45 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.005082, allocations: 0.5388 MB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.683e-05/0.005179, allocations: 101.2 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.005216, allocations: 35.66 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.005238, allocations: 4.594 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.005263, allocations: 46.05 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.005265, allocations: 0 / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001812/0.005446, allocations: 92.03 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.005486, allocations: 106.8 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.005582, allocations: 200.3 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.005601, allocations: 33.69 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.005663, allocations: 156.5 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.005694, allocations: 27.72 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.005734, allocations: 35.34 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.00587, allocations: 0.4923 MB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.005897, allocations: 13.03 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.005945, allocations: 43.05 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.367e-05/0.006009, allocations: 52.09 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006011, allocations: 3.938 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001018/0.006113, allocations: 82.41 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.006127, allocations: 11.94 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.006133, allocations: 0 / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.006151, allocations: 2.219 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.006223, allocations: 8 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.006229, allocations: 4 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.006265, allocations: 7.938 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.006274, allocations: 12.06 kB / 0.8171 GB, free: 12.03 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 8.125e-05/0.006355, allocations: 163.3 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.006395, allocations: 19.89 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.006505, allocations: 58.02 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.006508, allocations: 0 / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.006512, allocations: 4 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.006517, allocations: 0 / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.007054, allocations: 122.7 kB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.007056, allocations: 0 / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.007097, allocations: 11.98 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.007104, allocations: 4 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.007112, allocations: 4.531 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.007116, allocations: 7.875 kB / 0.8174 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.007119, allocations: 4.562 kB / 0.8174 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.007326, allocations: 458.8 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.007338, allocations: 9.656 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.007357, allocations: 11.98 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.007437, allocations: 3.938 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.007492, allocations: 24.61 kB / 0.8179 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.007497, allocations: 4 kB / 0.8179 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.007548, allocations: 154.6 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007548, allocations: 3.938 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002045/0.007753, allocations: 12.66 kB / 0.8181 GB, free: 10.91 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.0001104/0.007863, allocations: 107 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.007969, allocations: 51.59 kB / 0.8182 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.007971, allocations: 0 / 0.8182 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.008016, allocations: 35.61 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.008305, allocations: 14.33 kB / 0.8183 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.008619, allocations: 215.5 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.008665, allocations: 63.34 kB / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.029e-05/0.008715, allocations: 17.61 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.008782, allocations: 82.19 kB / 0.8186 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.008783, allocations: 0.875 kB / 0.8186 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.003042/0.01182, allocations: 1.277 MB / 0.8199 GB, free: 9.012 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","",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.3627641261555254]