Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.08/3.08, allocations: 287.5 MB / 302.4 MB, free: 8.223 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.001519/0.001519, allocations: 172.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.246/2.246, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001048/0.001048, allocations: 77.06 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006742/0.0006747, allocations: 13.66 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2401, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001372/0.2415, allocations: 0.6982 MB / 0.9791 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.2436, allocations: 1.289 MB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.2438, allocations: 7.938 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.2438, allocations: 7.922 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.244, allocations: 27.78 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.245, allocations: 218 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000308/0.2453, allocations: 263.3 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.2454, allocations: 37.83 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.2456, allocations: 95.73 kB / 0.981 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.2458, allocations: 91.58 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.047e-05/0.2458, allocations: 12 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.246, allocations: 31.97 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.246, allocations: 27.86 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.005e-05/0.2461, allocations: 57.64 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.2464, allocations: 247.6 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.2465, allocations: 4 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.935e-06/0.2465, allocations: 0 / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2465, allocations: 0 / 0.9814 GB, free: 25.25 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.0009573/0.2475, allocations: 0.5214 MB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2475, allocations: 15.97 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.2476, allocations: 23.72 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.2488, allocations: 326.3 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.2489, allocations: 15.94 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.2489, allocations: 16 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.2493, allocations: 136.2 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2494, allocations: 3.984 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.2494, allocations: 3.953 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.2494, allocations: 4 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.2498, allocations: 75.89 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.2508, allocations: 0.6491 MB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005314/0.2513, allocations: 139.8 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.2515, allocations: 58.7 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.2516, allocations: 11.94 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.252, allocations: 146.8 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.795e-06/0.252, allocations: 0 / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0008541/0.2529, allocations: 217.7 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.2529, allocations: 114.8 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.2532, allocations: 182.7 kB / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.2532, allocations: 37.7 kB / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.2534, allocations: 124.5 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.2534, allocations: 35.61 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.2535, allocations: 8 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.2536, allocations: 334.8 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.2539, allocations: 99.94 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.2544, allocations: 164.5 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.2548, allocations: 143.4 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2548, allocations: 0 / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001/0.2558, allocations: 356.7 kB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.995e-05/0.2559, allocations: 59.41 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2559, allocations: 7.984 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.2559, allocations: 0 / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2561, allocations: 28.05 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2561, allocations: 0 / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/0.2568, allocations: 95.77 kB / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.2569, allocations: 16 kB / 0.9854 GB, free: 20.78 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.0001837/0.2571, allocations: 142.2 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.2571, allocations: 16.05 kB / 0.9856 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000417/0.2576, allocations: 110.5 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2576, allocations: 4 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.2576, allocations: 0 / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2576, allocations: 3.938 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.2579, allocations: 241.5 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2579, allocations: 0 / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.258, allocations: 31.92 kB / 0.9859 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2581, allocations: 0 / 0.9859 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.2581, allocations: 4 kB / 0.9859 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.2581, allocations: 3.984 kB / 0.9859 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2581, allocations: 0 / 0.9859 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.2587, allocations: 204.9 kB / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.2587, allocations: 92.92 kB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.2588, allocations: 4 kB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.259, allocations: 16.23 kB / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2591, allocations: 27.94 kB / 0.9863 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.2591, allocations: 16 kB / 0.9863 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001295/0.2593, allocations: 136.2 kB / 0.9864 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2593, allocations: 4 kB / 0.9864 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004169/0.2597, allocations: 40 kB / 0.9865 GB, free: 19.6 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.0002107/0.2599, allocations: 123.1 kB / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000838/0.2608, allocations: 322.6 kB / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2608, allocations: 0 / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.2611, allocations: 67.91 kB / 0.987 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.2616, allocations: 40.17 kB / 0.987 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.2623, allocations: 346.3 kB / 0.9873 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2625, allocations: 0.7206 MB / 0.988 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.2627, allocations: 21.55 kB / 0.988 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.2628, allocations: 23.42 kB / 0.9881 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2628, allocations: 0 / 0.9881 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.008688/0.2715, allocations: 2.884 MB / 0.9909 GB, free: 15.02 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)