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 2.775/2.775, allocations: 287.5 MB / 302.4 MB, free: 8.219 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.001422/0.001422, allocations: 188.8 kB / 371 MB, free: 10.86 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.3/2.3, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009401/0.0009403, allocations: 101 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000537/0.0005373, allocations: 14.97 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2502, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001275/0.2516, allocations: 0.5805 MB / 0.979 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.2534, allocations: 1.15 MB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.995e-05/0.2535, allocations: 0 / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.2536, allocations: 3.938 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.2537, allocations: 23.84 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.2543, allocations: 138.8 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.2545, allocations: 139.6 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.2547, allocations: 29.09 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2548, allocations: 51.83 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.2549, allocations: 55.8 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.255, allocations: 8 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.2551, allocations: 19.94 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.2551, allocations: 15.97 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.2552, allocations: 45.64 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.2553, allocations: 112 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2554, allocations: 0 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2554, allocations: 0 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.2554, allocations: 0 / 0.9807 GB, free: 25.96 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.0007608/0.2562, allocations: 436.7 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2562, allocations: 12.03 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.2563, allocations: 11.91 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008017/0.2571, allocations: 270.6 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.2571, allocations: 8 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.2572, allocations: 12 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.2575, allocations: 89.64 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2575, allocations: 0 / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.2576, allocations: 4 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2576, allocations: 4 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.2579, allocations: 59.89 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.2588, allocations: 388.5 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.259, allocations: 46.45 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.2592, allocations: 32.95 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.2592, allocations: 0 / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003226/0.2595, allocations: 99.36 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 3.597e-06/0.2596, allocations: 3.984 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000625/0.2602, allocations: 145.4 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.2602, allocations: 63.39 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2604, allocations: 148.2 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.2604, allocations: 37.64 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.2605, allocations: 104.1 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.2606, allocations: 27.61 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.2606, allocations: 8 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.2607, allocations: 322.8 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.2609, allocations: 51.97 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.2612, allocations: 133.8 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.2615, allocations: 97.56 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2615, allocations: 4 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000706/0.2622, allocations: 247 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.2623, allocations: 37.69 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.2623, allocations: 0 / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2623, allocations: 4 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.2625, allocations: 28.3 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2626, allocations: 8 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.263, allocations: 59.8 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.263, allocations: 8 kB / 0.9836 GB, free: 22.73 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 0.0001292/0.2632, allocations: 137.7 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.2632, allocations: 11.91 kB / 0.9837 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.2632, allocations: 16.72 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2633, allocations: 0 / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2633, allocations: 4 kB / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2633, allocations: 0 / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008308/0.2641, allocations: 418.2 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2642, allocations: 0 / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2643, allocations: 16.39 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2643, allocations: 4 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.2644, allocations: 0 / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2644, allocations: 0 / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2644, allocations: 0 / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.265, allocations: 263.2 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.2651, allocations: 81.02 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.2651, allocations: 8 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2653, allocations: 8.031 kB / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.2653, allocations: 11.98 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.2653, allocations: 4 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.593e-05/0.2654, allocations: 108.8 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2654, allocations: 0 / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004057/0.2659, allocations: 35.89 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001942/0.2661, allocations: 104.6 kB / 0.9847 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005863/0.2667, allocations: 191.1 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2667, allocations: 0.75 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.2669, allocations: 43.97 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.2673, allocations: 23.94 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/0.268, allocations: 297.8 kB / 0.9853 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.2682, allocations: 0.7048 MB / 0.986 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00012/0.2684, allocations: 16.64 kB / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.2684, allocations: 11.44 kB / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2684, allocations: 0 / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.005909/0.2743, allocations: 1.478 MB / 0.9874 GB, free: 18.62 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)