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.793/1.793, allocations: 288.3 MB / 303.2 MB, free: 8.113 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.001441/0.00144, allocations: 186.4 kB / 371.8 MB, free: 10.29 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.854/1.854, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008838, allocations: 86.91 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004211, allocations: 12.69 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2434, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001472/0.2449, allocations: 0.6986 MB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002456/0.2474, allocations: 1.25 MB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.2476, allocations: 4 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.435e-05/0.2477, allocations: 11.86 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.2479, allocations: 35.88 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.249, allocations: 220.8 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.2494, allocations: 159.7 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.2495, allocations: 29.8 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.2498, allocations: 99.72 kB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.25, allocations: 99.62 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.426e-05/0.2501, allocations: 12 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2502, allocations: 19.98 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.2502, allocations: 27.86 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.2503, allocations: 53.64 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.2506, allocations: 251.6 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2506, allocations: 0 / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2507, allocations: 0 / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.2507, allocations: 0 / 0.9823 GB, free: 24.73 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.001036/0.2517, allocations: 0.5253 MB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.2518, allocations: 8.031 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.252, allocations: 27.72 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.2531, allocations: 329.2 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.2532, allocations: 12 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.2533, allocations: 23.98 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.2537, allocations: 137.2 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2537, allocations: 0 / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2537, allocations: 0 / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.2538, allocations: 7.953 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.2542, allocations: 83.94 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009781/0.2551, allocations: 0.6452 MB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.2557, allocations: 139.9 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.2557, allocations: 4.062 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000386/0.2561, allocations: 164.2 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.284e-06/0.2561, allocations: 0 / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0007724/0.2569, allocations: 213.3 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.257, allocations: 102.8 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.2572, allocations: 198.5 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.2572, allocations: 33.7 kB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2574, allocations: 132.5 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.2574, allocations: 31.55 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.2575, allocations: 8 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.2576, allocations: 330.8 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.2579, allocations: 99.91 kB / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.2583, allocations: 169.4 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.2586, allocations: 143.9 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2586, allocations: 0 / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008537/0.2595, allocations: 364.6 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.2596, allocations: 67.39 kB / 0.9862 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.2596, allocations: 0 / 0.9862 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.2596, allocations: 4 kB / 0.9862 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.2597, allocations: 19.98 kB / 0.9862 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.2598, allocations: 8.109 kB / 0.9862 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/0.2604, allocations: 95.77 kB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.2604, allocations: 15.92 kB / 0.9863 GB, free: 20.3 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.0001825/0.2606, allocations: 138.3 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.2607, allocations: 15.81 kB / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.2611, allocations: 110.5 kB / 0.9866 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2611, allocations: 4 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.2611, allocations: 288 / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.2611, allocations: 3.984 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.2613, allocations: 241.5 kB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2614, allocations: 0 / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.2615, allocations: 27.97 kB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2615, allocations: 0 / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.2615, allocations: 8 kB / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2615, allocations: 0 / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2616, allocations: 0 / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.262, allocations: 225.9 kB / 0.987 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.2621, allocations: 92.91 kB / 0.9871 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.2621, allocations: 4 kB / 0.9871 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.2623, allocations: 15.98 kB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/0.2624, allocations: 27.95 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2625, allocations: 11.98 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001174/0.2626, allocations: 144.1 kB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2626, allocations: 3.938 kB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004321/0.263, allocations: 44 kB / 0.9874 GB, free: 19.09 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.0002201/0.2633, allocations: 116.8 kB / 0.9875 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007952/0.2641, allocations: 330.8 kB / 0.9878 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.2641, allocations: 4 kB / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.2644, allocations: 63.91 kB / 0.9879 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.2649, allocations: 40.75 kB / 0.9879 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007488/0.2656, allocations: 342.4 kB / 0.9882 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.2658, allocations: 0.7284 MB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.266, allocations: 21.55 kB / 0.989 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.2661, allocations: 19.44 kB / 0.989 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.2661, allocations: 0 / 0.989 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.01009/0.2762, allocations: 2.874 MB / 0.9918 GB, free: 14.51 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)