Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.794/1.794, allocations: 287.4 MB / 303.2 MB, free: 8.23 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.001471/0.001471, allocations: 173.2 kB / 371.8 MB, free: 10.82 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.638/1.638, allocations: 205.4 MB / 0.6305 GB, free: 10.47 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.0009094/0.0009098, allocations: 92.27 kB / 0.7438 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004002, allocations: 15.47 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 115.3 MB / 0.9793 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.0008601/0.2227, allocations: 0.5805 MB / 0.9799 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2241, allocations: 1.146 MB / 0.981 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.2242, allocations: 3.938 kB / 0.981 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.2242, allocations: 11.92 kB / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.2243, allocations: 11.88 kB / 0.981 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.2248, allocations: 134.4 kB / 0.9811 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.225, allocations: 143.6 kB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.2251, allocations: 29.11 kB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.2252, allocations: 51.83 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.2253, allocations: 59.75 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.2253, allocations: 8 kB / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-05/0.2254, allocations: 19.98 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.2254, allocations: 19.91 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.2255, allocations: 45.64 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.2256, allocations: 112 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2256, allocations: 0 / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2257, allocations: 0 / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2257, allocations: 0 / 0.9816 GB, free: 25.75 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.0004996/0.2262, allocations: 435 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.2262, allocations: 8.031 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.2263, allocations: 16.84 kB / 0.982 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.2268, allocations: 268.1 kB / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2268, allocations: 8.375 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.2269, allocations: 12.38 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2271, allocations: 92.17 kB / 0.9824 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2271, allocations: 3.938 kB / 0.9824 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2271, allocations: 4 kB / 0.9824 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.2271, allocations: 4 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.2273, allocations: 59.94 kB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.2279, allocations: 392.5 kB / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.228, allocations: 42.55 kB / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.2281, allocations: 24.97 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.2281, allocations: 4 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.2284, allocations: 107.2 kB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.2284, allocations: 0 / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000407/0.2288, allocations: 153.7 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.2288, allocations: 55.44 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.2289, allocations: 147.8 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.2289, allocations: 29.7 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.229, allocations: 116 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.229, allocations: 31.59 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.229, allocations: 4 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.2291, allocations: 326.8 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.2292, allocations: 43.97 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.2294, allocations: 143.5 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.2297, allocations: 208.6 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2297, allocations: 0 / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004545/0.2302, allocations: 247 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.2302, allocations: 36.36 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2302, allocations: 4 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2302, allocations: 7.984 kB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.2304, allocations: 36.3 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2304, allocations: 7.938 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.2306, allocations: 47.81 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.2306, allocations: 15.98 kB / 0.9846 GB, free: 22.36 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 9.569e-05/0.2307, allocations: 129.8 kB / 0.9847 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.2308, allocations: 7.906 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.2308, allocations: 20.7 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2308, allocations: 0 / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2308, allocations: 0 / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.2309, allocations: 92.89 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.2309, allocations: 0 / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.231, allocations: 7.984 kB / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.231, allocations: 15.98 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003638/0.2314, allocations: 204.8 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004141/0.2318, allocations: 346.5 kB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001016/0.2319, allocations: 48.05 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.232, allocations: 103.3 kB / 0.9855 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of Backend: time 3.81e-07/0.232, allocations: 0 / 0.9855 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.2325, allocations: 245.9 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005401/0.2331, allocations: 0.7436 MB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.004225/0.2373, allocations: 1.565 MB / 0.988 GB, free: 18.75 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)