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.783/1.783, allocations: 288.4 MB / 303.4 MB, free: 8.18 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.001167/0.001167, allocations: 181.6 kB / 372 MB, free: 10.28 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.804/1.804, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008947/0.0008946, allocations: 90.3 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004329, allocations: 13.19 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2373, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001371/0.2388, allocations: 0.7023 MB / 0.9803 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.2409, allocations: 1.277 MB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.241, allocations: 8 kB / 0.9816 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.241, allocations: 7.875 kB / 0.9816 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.2412, allocations: 27.78 kB / 0.9816 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006978/0.2419, allocations: 218.5 kB / 0.9818 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.2421, allocations: 259.3 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2422, allocations: 41.83 kB / 0.9821 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2423, allocations: 95.73 kB / 0.9822 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.2424, allocations: 95.56 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.2425, allocations: 12 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-05/0.2426, allocations: 27.98 kB / 0.9823 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.2426, allocations: 23.91 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.2427, allocations: 61.58 kB / 0.9824 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.2429, allocations: 247.6 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2429, allocations: 7.938 kB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2429, allocations: 0 / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2429, allocations: 0 / 0.9826 GB, free: 24.56 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.0007217/0.2436, allocations: 0.5253 MB / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2437, allocations: 12.03 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.2438, allocations: 23.72 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007126/0.2445, allocations: 322.3 kB / 0.9835 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.2445, allocations: 15.98 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.2446, allocations: 12 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.2449, allocations: 146.2 kB / 0.9836 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2449, allocations: 0 / 0.9836 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.2449, allocations: 4 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2449, allocations: 7.953 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.2452, allocations: 79.88 kB / 0.9837 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.2458, allocations: 0.6413 MB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.2461, allocations: 139.9 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.2463, allocations: 58.7 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2463, allocations: 4 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.2466, allocations: 157.9 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.2466, allocations: 0 / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005142/0.2471, allocations: 217.3 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.2472, allocations: 106.8 kB / 0.985 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2473, allocations: 190.5 kB / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.2473, allocations: 37.69 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.2474, allocations: 124.5 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.2475, allocations: 31.55 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.2475, allocations: 8 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.528e-05/0.2476, allocations: 334.8 kB / 0.9857 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.2478, allocations: 99.94 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.248, allocations: 160.5 kB / 0.986 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.2482, allocations: 151.3 kB / 0.9861 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2482, allocations: 0 / 0.9861 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005978/0.2488, allocations: 357.3 kB / 0.9864 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.2489, allocations: 67.39 kB / 0.9865 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.2489, allocations: 4 kB / 0.9865 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2489, allocations: 4.172 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.089e-05/0.249, allocations: 23.98 kB / 0.9865 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.249, allocations: 8.125 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.2494, allocations: 95.77 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.2494, allocations: 12 kB / 0.9866 GB, free: 20.08 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.0001148/0.2496, allocations: 146.2 kB / 0.9868 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.2496, allocations: 15.81 kB / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.2499, allocations: 106.5 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2499, allocations: 4 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2499, allocations: 0 / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2499, allocations: 0 / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.2501, allocations: 241.5 kB / 0.9871 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2501, allocations: 7.938 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.2502, allocations: 19.98 kB / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2502, allocations: 0 / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.2502, allocations: 15.92 kB / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2502, allocations: 0 / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2502, allocations: 0 / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.2505, allocations: 204.5 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.2506, allocations: 88.92 kB / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.2506, allocations: 8 kB / 0.9875 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2507, allocations: 11.98 kB / 0.9875 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.2508, allocations: 31.94 kB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2508, allocations: 8 kB / 0.9875 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.484e-05/0.2509, allocations: 144.2 kB / 0.9877 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2509, allocations: 0 / 0.9877 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000243/0.2512, allocations: 40 kB / 0.9877 GB, free: 18.9 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.0001831/0.2514, allocations: 120.6 kB / 0.9878 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004866/0.2519, allocations: 326.6 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2519, allocations: 0 / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.252, allocations: 68.28 kB / 0.9882 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2523, allocations: 47.95 kB / 0.9882 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.2529, allocations: 342.6 kB / 0.9886 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.2531, allocations: 0.7206 MB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.2532, allocations: 25.53 kB / 0.9893 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.2532, allocations: 19.44 kB / 0.9893 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.2532, allocations: 0 / 0.9893 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.005877/0.2591, allocations: 2.887 MB / 0.9921 GB, free: 14.31 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)