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.723/1.723, allocations: 288.4 MB / 303.7 MB, free: 8.105 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.0009915/0.0009916, allocations: 171.4 kB / 372.3 MB, free: 10.14 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.829/1.829, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0009027/0.0009027, allocations: 94.3 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004563, allocations: 15.22 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3379, allocations: 115.3 MB / 0.9802 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001262/0.3392, allocations: 0.5728 MB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.3409, allocations: 1.153 MB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.341, allocations: 0 / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.3411, allocations: 3.938 kB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.788e-05/0.3411, allocations: 27.78 kB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.3416, allocations: 128.9 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.3418, allocations: 139.7 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3419, allocations: 29.11 kB / 0.9822 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.47e-05/0.342, allocations: 59.83 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.806e-05/0.3421, allocations: 51.75 kB / 0.9823 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3421, allocations: 8 kB / 0.9823 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-05/0.3422, allocations: 19.98 kB / 0.9823 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.3422, allocations: 23.91 kB / 0.9823 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.289e-05/0.3423, allocations: 73.48 kB / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3425, allocations: 115.9 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3425, allocations: 4 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3425, allocations: 3.938 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3425, allocations: 0 / 0.9825 GB, free: 24.9 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.0005358/0.343, allocations: 432.9 kB / 0.9829 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3431, allocations: 12.03 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.3431, allocations: 12.84 kB / 0.9829 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.3437, allocations: 264.1 kB / 0.9832 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3437, allocations: 12.36 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.3438, allocations: 8.375 kB / 0.9832 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.344, allocations: 94.2 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.344, allocations: 7.875 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.344, allocations: 4 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.344, allocations: 8 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.3442, allocations: 47.95 kB / 0.9834 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/0.3449, allocations: 392.5 kB / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.345, allocations: 38.56 kB / 0.9838 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.3451, allocations: 32.95 kB / 0.9838 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3451, allocations: 4 kB / 0.9838 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.3454, allocations: 103.1 kB / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.3454, allocations: 0 / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003692/0.3457, allocations: 145.5 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.3458, allocations: 59.34 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.3459, allocations: 148.9 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3459, allocations: 29.64 kB / 0.9843 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.346, allocations: 123.8 kB / 0.9844 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.346, allocations: 27.62 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.346, allocations: 8 kB / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.3461, allocations: 318.8 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3463, allocations: 55.95 kB / 0.9848 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.3464, allocations: 127.1 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.3467, allocations: 212.6 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3467, allocations: 4 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003933/0.3471, allocations: 254.9 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.3472, allocations: 37.7 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3472, allocations: 0 / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3472, allocations: 8.031 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3474, allocations: 28.36 kB / 0.9854 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3474, allocations: 15.86 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.3476, allocations: 51.81 kB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.3476, allocations: 12 kB / 0.9855 GB, free: 21.5 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.058e-05/0.3477, allocations: 131.7 kB / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.3477, allocations: 7.906 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.3478, allocations: 12.72 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3478, allocations: 0 / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3478, allocations: 7.938 kB / 0.9857 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3478, allocations: 3.984 kB / 0.9857 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.3483, allocations: 406.7 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3483, allocations: 4 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.3484, allocations: 11.98 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3484, allocations: 8.031 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3484, allocations: 3.938 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3484, allocations: 0 / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3484, allocations: 4 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.3488, allocations: 259.2 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.3488, allocations: 84.95 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3489, allocations: 4 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.349, allocations: 12.03 kB / 0.9864 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.349, allocations: 7.984 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.349, allocations: 4 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.3491, allocations: 111.2 kB / 0.9865 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.3491, allocations: 0 / 0.9865 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002544/0.3493, allocations: 28 kB / 0.9866 GB, free: 20.32 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.0001872/0.3495, allocations: 117.3 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.3499, allocations: 187.9 kB / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3499, allocations: 4.062 kB / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.35, allocations: 35.92 kB / 0.9869 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3503, allocations: 25.36 kB / 0.9869 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.3508, allocations: 297.7 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.351, allocations: 0.7048 MB / 0.9879 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.585e-05/0.3511, allocations: 16.64 kB / 0.9879 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.3511, allocations: 19.44 kB / 0.9879 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.3511, allocations: 4.281 kB / 0.9879 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.004065/0.3552, allocations: 1.493 MB / 0.9894 GB, free: 17.38 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)