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.001733/0.001733, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.002086/0.002086, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.036/1.036, allocations: 177.1 MB / 204.2 MB, free: 5.637 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 2.004/2.004, allocations: 377.8 MB / 0.6236 GB, free: 8.582 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.434e-06/2.434e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.437e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002504/0.002539, allocations: 0.8602 MB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.003875, allocations: 0.9332 MB / 0.8134 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.188e-05/0.003947, allocations: 5.688 kB / 0.8134 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.003992, allocations: 15.8 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.004113, allocations: 11.86 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.00446, allocations: 53.28 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.004657, allocations: 115.6 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.004796, allocations: 25.28 kB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.00509, allocations: 69.47 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.005206, allocations: 43.88 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.005237, allocations: 12 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.35e-05/0.0053, allocations: 12 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.005332, allocations: 28.72 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.005382, allocations: 31.91 kB / 0.8138 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.005582, allocations: 95.64 kB / 0.8139 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.005586, allocations: 0.7812 kB / 0.8139 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.463e-06/0.005587, allocations: 0 / 0.8139 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.005592, allocations: 0.625 kB / 0.8139 GB, free: 15.4 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.000638/0.00623, allocations: 453.5 kB / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.006278, allocations: 8.031 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002677/0.006546, allocations: 41.61 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.006899, allocations: 185.9 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.006925, allocations: 4.375 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.006946, allocations: 10.12 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.00719, allocations: 117.6 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.007201, allocations: 192 / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.007218, allocations: 8.359 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.007229, allocations: 9.156 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.591e-05/0.007315, allocations: 27.97 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.007919, allocations: 0.5644 MB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.008094, allocations: 118.1 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.008154, allocations: 36.16 kB / 0.8154 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.008182, allocations: 0 / 0.8154 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.008212, allocations: 45.33 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.008214, allocations: 2.438 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0003052/0.008519, allocations: 93.5 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.00857, allocations: 106.8 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.008706, allocations: 200.7 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.008732, allocations: 34.23 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.008814, allocations: 147.1 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.008853, allocations: 28.47 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.008911, allocations: 35.36 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.009074, allocations: 0.4928 MB / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.009131, allocations: 17.61 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.009243, allocations: 155.1 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.289e-05/0.009336, allocations: 51.06 kB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.009339, allocations: 0 / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001676/0.009506, allocations: 94.31 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.009523, allocations: 4 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.009531, allocations: 9 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.009548, allocations: 0 / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.009655, allocations: 21.14 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.009662, allocations: 0 / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.009729, allocations: 15.94 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.009739, allocations: 0.8438 kB / 0.8169 GB, free: 11.99 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 9.705e-05/0.009836, allocations: 162.8 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.009903, allocations: 20.22 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.01006, allocations: 69.94 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01006, allocations: 0 / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01006, allocations: 0 / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.01007, allocations: 7.984 kB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.01032, allocations: 147.8 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01033, allocations: 0 / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-05/0.01042, allocations: 15.98 kB / 0.8173 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.01043, allocations: 3.938 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.01044, allocations: 4 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.01044, allocations: 4 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.01044, allocations: 0 / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.0107, allocations: 474.1 kB / 0.8177 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.01071, allocations: 17.14 kB / 0.8178 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.01074, allocations: 4 kB / 0.8178 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.01091, allocations: 12.61 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.01098, allocations: 23.95 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.01099, allocations: 8.953 kB / 0.8178 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.954e-05/0.01105, allocations: 143.2 kB / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01105, allocations: 0 / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002226/0.01127, allocations: 20.66 kB / 0.818 GB, free: 10.81 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.0001202/0.01139, allocations: 108.8 kB / 0.8181 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.01153, allocations: 55.61 kB / 0.8181 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01154, allocations: 1.188 kB / 0.8181 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.01158, allocations: 23.67 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.01188, allocations: 25.02 kB / 0.8182 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.01222, allocations: 210.7 kB / 0.8184 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.789e-05/0.01227, allocations: 67.33 kB / 0.8184 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.948e-05/0.01232, allocations: 13.84 kB / 0.8184 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.01236, allocations: 24.48 kB / 0.8185 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of SimCode: time 5.92e-07/0.01237, allocations: 0 / 0.8185 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of Templates: time 0.003222/0.01559, allocations: 1.434 MB / 0.8199 GB, free: 8.816 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.459608667064458]