Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.731/1.731, allocations: 288.4 MB / 303.7 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009914/0.0009916, allocations: 180.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008838/0.0008839, allocations: 98.23 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004902, allocations: 14.94 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3427, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001731/0.3445, allocations: 0.6985 MB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002326/0.3469, allocations: 1.289 MB / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.3471, allocations: 0 / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.3472, allocations: 7.875 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.3473, allocations: 31.72 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008126/0.3482, allocations: 221.4 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.3485, allocations: 263.4 kB / 0.9826 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.3487, allocations: 41.66 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.3489, allocations: 95.69 kB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3491, allocations: 91.62 kB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.247e-05/0.3491, allocations: 16 kB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.482e-05/0.3492, allocations: 27.92 kB / 0.9829 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.3493, allocations: 27.91 kB / 0.9829 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.3494, allocations: 117.3 kB / 0.983 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.3497, allocations: 247.6 kB / 0.9832 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3497, allocations: 0 / 0.9832 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.577e-06/0.3497, allocations: 0 / 0.9832 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3497, allocations: 3.938 kB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008529/0.3505, allocations: 0.5333 MB / 0.9838 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3506, allocations: 8.031 kB / 0.9838 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.3507, allocations: 28.66 kB / 0.9838 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.3515, allocations: 329 kB / 0.9841 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.3515, allocations: 12.38 kB / 0.9841 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.3516, allocations: 20.36 kB / 0.9841 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.3518, allocations: 137.8 kB / 0.9843 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3519, allocations: 3.938 kB / 0.9843 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3519, allocations: 0 / 0.9843 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3519, allocations: 7.984 kB / 0.9843 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.3522, allocations: 87.88 kB / 0.9844 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/0.3529, allocations: 0.6413 MB / 0.985 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.3533, allocations: 135.9 kB / 0.9851 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3535, allocations: 58.7 kB / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.3535, allocations: 4 kB / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.3538, allocations: 147.3 kB / 0.9853 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3538, allocations: 0 / 0.9853 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0006001/0.3544, allocations: 225.4 kB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.3545, allocations: 110.8 kB / 0.9856 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3547, allocations: 187.7 kB / 0.9858 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3547, allocations: 33.7 kB / 0.9858 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.3548, allocations: 128.5 kB / 0.986 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.3548, allocations: 39.45 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/0.3548, allocations: 11.94 kB / 0.986 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.3549, allocations: 326.8 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.3551, allocations: 95.94 kB / 0.9864 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.3554, allocations: 170.2 kB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.3557, allocations: 241.2 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3557, allocations: 4 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00055/0.3563, allocations: 352.8 kB / 0.9872 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.3563, allocations: 63.39 kB / 0.9872 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3563, allocations: 0 / 0.9872 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3564, allocations: 7.938 kB / 0.9872 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.3564, allocations: 23.92 kB / 0.9872 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3565, allocations: 7.938 kB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.3568, allocations: 87.77 kB / 0.9873 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.3569, allocations: 23.98 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.357, allocations: 139.8 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.357, allocations: 15.81 kB / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3573, allocations: 106.6 kB / 0.9876 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3573, allocations: 0 / 0.9876 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3573, allocations: 7.938 kB / 0.9876 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3573, allocations: 0 / 0.9876 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3575, allocations: 237.5 kB / 0.9878 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3575, allocations: 3.938 kB / 0.9878 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.3576, allocations: 15.98 kB / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3576, allocations: 4.281 kB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3576, allocations: 0 / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3576, allocations: 4 kB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3576, allocations: 8.438 kB / 0.9879 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.3579, allocations: 206.5 kB / 0.9881 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.358, allocations: 92.91 kB / 0.9882 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.358, allocations: 8 kB / 0.9882 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.3581, allocations: 15.98 kB / 0.9882 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/0.3582, allocations: 31.88 kB / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3582, allocations: 4 kB / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.866e-05/0.3583, allocations: 139.3 kB / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3583, allocations: 0 / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002608/0.3586, allocations: 55.91 kB / 0.9884 GB, free: 18.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001768/0.3588, allocations: 111.2 kB / 0.9885 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000474/0.3593, allocations: 326.8 kB / 0.9888 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3593, allocations: 0 / 0.9888 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.3595, allocations: 67.91 kB / 0.9889 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3598, allocations: 44.44 kB / 0.9889 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.3603, allocations: 343.6 kB / 0.9893 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.3605, allocations: 0.7206 MB / 0.99 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.96e-05/0.3606, allocations: 25.55 kB / 0.99 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.3606, allocations: 23.42 kB / 0.99 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.3606, allocations: 0 / 0.99 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.005813/0.3664, allocations: 2.931 MB / 0.9929 GB, free: 13.73 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)