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.IntegratorWithReset.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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.676/1.676, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.001057/0.001057, allocations: 184.5 kB / 372.9 MB, free: 10.13 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.572/1.572, allocations: 205.4 MB / 0.6316 GB, free: 9.867 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.0009946/0.0009949, allocations: 94.16 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004223, allocations: 19.28 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.24, allocations: 115.3 MB / 0.9808 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.000975/0.241, allocations: 0.5768 MB / 0.9813 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2422, allocations: 1.153 MB / 0.9824 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.2423, allocations: 7.938 kB / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.2423, allocations: 3.938 kB / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.2424, allocations: 15.84 kB / 0.9825 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.2429, allocations: 128 kB / 0.9826 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.243, allocations: 147.6 kB / 0.9827 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2432, allocations: 29.11 kB / 0.9828 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.2433, allocations: 47.84 kB / 0.9828 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/0.2433, allocations: 55.8 kB / 0.9829 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.2434, allocations: 8 kB / 0.9829 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.2434, allocations: 19.98 kB / 0.9829 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.2435, allocations: 15.92 kB / 0.9829 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.587e-05/0.2435, allocations: 89.41 kB / 0.983 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.2437, allocations: 115.9 kB / 0.9831 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2437, allocations: 0 / 0.9831 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2437, allocations: 0 / 0.9831 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.2437, allocations: 0 / 0.9831 GB, free: 24.89 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005677/0.2443, allocations: 432.8 kB / 0.9835 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2443, allocations: 12.03 kB / 0.9835 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.2444, allocations: 12.84 kB / 0.9835 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.2449, allocations: 264.2 kB / 0.9838 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.245, allocations: 12.36 kB / 0.9838 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.245, allocations: 16.38 kB / 0.9838 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.2452, allocations: 96.39 kB / 0.9839 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2452, allocations: 3.938 kB / 0.9839 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2453, allocations: 7.984 kB / 0.9839 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2453, allocations: 0 / 0.9839 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.2454, allocations: 55.95 kB / 0.984 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.2461, allocations: 392.5 kB / 0.9843 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.2462, allocations: 42.56 kB / 0.9844 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.2463, allocations: 24.84 kB / 0.9844 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.2464, allocations: 4.125 kB / 0.9844 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.2466, allocations: 107.2 kB / 0.9845 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.582e-06/0.2466, allocations: 0 / 0.9845 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003854/0.247, allocations: 145.5 kB / 0.9847 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.247, allocations: 59.34 kB / 0.9847 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.2471, allocations: 145.5 kB / 0.9848 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2471, allocations: 33.7 kB / 0.9849 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.2472, allocations: 119.8 kB / 0.985 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.2472, allocations: 27.61 kB / 0.985 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.2472, allocations: 0 / 0.985 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.2473, allocations: 327.2 kB / 0.9853 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2474, allocations: 51.95 kB / 0.9854 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2476, allocations: 135.1 kB / 0.9855 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.2479, allocations: 208.6 kB / 0.9857 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2479, allocations: 3.938 kB / 0.9857 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004108/0.2483, allocations: 255.2 kB / 0.986 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.2483, allocations: 37.69 kB / 0.986 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2483, allocations: 4 kB / 0.986 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2484, allocations: 4 kB / 0.986 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.2485, allocations: 27.98 kB / 0.986 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2485, allocations: 15.86 kB / 0.986 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.2487, allocations: 55.86 kB / 0.9861 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2487, allocations: 8 kB / 0.9861 GB, free: 21.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 7.378e-05/0.2488, allocations: 135.3 kB / 0.9862 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.2488, allocations: 7.906 kB / 0.9862 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.2489, allocations: 20.72 kB / 0.9863 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2489, allocations: 0 / 0.9863 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2489, allocations: 0 / 0.9863 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.2489, allocations: 92.89 kB / 0.9864 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.2489, allocations: 3.984 kB / 0.9864 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.249, allocations: 4 kB / 0.9864 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.2491, allocations: 11.98 kB / 0.9864 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003446/0.2494, allocations: 212.8 kB / 0.9866 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003783/0.2498, allocations: 342.4 kB / 0.9869 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001036/0.2499, allocations: 40.02 kB / 0.9869 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.25, allocations: 112.8 kB / 0.987 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of Backend: time 3.3e-07/0.25, allocations: 0 / 0.987 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005705/0.2505, allocations: 243.6 kB / 0.9873 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005042/0.2511, allocations: 0.7461 MB / 0.988 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.003847/0.2549, allocations: 1.582 MB / 0.9896 GB, free: 17.86 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)