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.000929/0.000929, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001016/0.001016, allocations: 165 kB / 24.17 MB, free: 336 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.004/1.004, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.933/1.933, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.164e-06/2.164e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.608e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002405/0.002431, allocations: 0.8553 MB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.003839, allocations: 0.9357 MB / 0.7618 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.003913, allocations: 0 / 0.7618 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.462e-05/0.003958, allocations: 12.36 kB / 0.7618 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.004086, allocations: 28 kB / 0.7619 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.004368, allocations: 52.66 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.004562, allocations: 111.7 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.004678, allocations: 26.53 kB / 0.7621 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.004953, allocations: 85.55 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.005047, allocations: 35.91 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.005068, allocations: 7.938 kB / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.005117, allocations: 11.98 kB / 0.7622 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.005139, allocations: 16.98 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.005174, allocations: 23.92 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.005333, allocations: 71.67 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.005336, allocations: 0.5 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005337, allocations: 1.188 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.798e-06/0.005341, allocations: 3.938 kB / 0.7623 GB, free: 4.328 MB / 0.7136 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.0004364/0.005778, allocations: 304.4 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.005817, allocations: 8.562 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.005995, allocations: 25.69 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.0062, allocations: 159 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.00622, allocations: 5.219 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.006238, allocations: 8.375 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.006414, allocations: 103.1 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.006423, allocations: 192 / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.006434, allocations: 4.375 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.006441, allocations: 1.062 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.006495, allocations: 29.62 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.006907, allocations: 348.5 kB / 0.7633 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.007044, allocations: 81 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.007078, allocations: 22.62 kB / 0.7634 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.007102, allocations: 8 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.007132, allocations: 39.25 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.007134, allocations: 0 / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002351/0.007369, allocations: 75.03 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.007432, allocations: 108.6 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.007548, allocations: 148 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.007574, allocations: 29.7 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.007624, allocations: 96.11 kB / 0.7638 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.007665, allocations: 31.77 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.007712, allocations: 22.66 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.007826, allocations: 322.8 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.007859, allocations: 13.09 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.007902, allocations: 30.56 kB / 0.7642 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.779e-05/0.007979, allocations: 52.31 kB / 0.7643 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.007982, allocations: 0 / 0.7643 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001216/0.008104, allocations: 69.61 kB / 0.7644 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.008119, allocations: 7.938 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.008125, allocations: 6.688 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.008142, allocations: 4 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.008223, allocations: 11.98 kB / 0.7644 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.008226, allocations: 0 / 0.7644 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.008278, allocations: 7.953 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.008287, allocations: 4 kB / 0.7644 GB, free: 1.977 MB / 0.7136 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.162e-05/0.008379, allocations: 122.4 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.008442, allocations: 12 kB / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.008554, allocations: 69.83 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.008557, allocations: 0 / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.008559, allocations: 0 / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.008565, allocations: 4.938 kB / 0.7646 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.008813, allocations: 85.86 kB / 0.7647 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008815, allocations: 0.7188 kB / 0.7647 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.008864, allocations: 11.98 kB / 0.7647 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.008867, allocations: 0.625 kB / 0.7647 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.008874, allocations: 0 / 0.7647 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.008877, allocations: 6.219 kB / 0.7647 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.008881, allocations: 7.875 kB / 0.7647 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.009065, allocations: 306.1 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.009082, allocations: 12.23 kB / 0.765 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.009106, allocations: 8 kB / 0.765 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.00924, allocations: 0.8438 kB / 0.765 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.009308, allocations: 27.89 kB / 0.765 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.009318, allocations: 12.47 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.009357, allocations: 38.33 kB / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.009357, allocations: 0 / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003183/0.009675, allocations: 12 kB / 0.7651 GB, free: 1.211 MB / 0.7136 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.0001636/0.009839, allocations: 88.42 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.009964, allocations: 48.75 kB / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.009969, allocations: 2.438 kB / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.808e-05/0.01002, allocations: 24.8 kB / 0.7653 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.01039, allocations: 16.2 kB / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.01073, allocations: 206.6 kB / 0.7655 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.591e-05/0.01078, allocations: 64.72 kB / 0.7655 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.193e-05/0.01085, allocations: 17.36 kB / 0.7655 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/0.01092, allocations: 63.36 kB / 0.7656 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.01092, allocations: 0.8125 kB / 0.7656 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of Templates: time 0.003917/0.01484, allocations: 1.212 MB / 0.7668 GB, free: 15.47 MB / 0.7292 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.002414688002318]