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.853/1.853, allocations: 287.5 MB / 302.6 MB, free: 8.246 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.0009399/0.0009399, allocations: 178.6 kB / 371.2 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.615/1.615, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0009745/0.0009749, allocations: 92.47 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005363/0.0005365, allocations: 14.47 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3031, allocations: 115.3 MB / 0.9787 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001395/0.3046, allocations: 0.5766 MB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3063, allocations: 1.15 MB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.344e-05/0.3064, allocations: 4 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.3065, allocations: 3.938 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.3066, allocations: 11.86 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007081/0.3073, allocations: 130.3 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.3075, allocations: 147.5 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.3077, allocations: 33.09 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3078, allocations: 51.83 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3079, allocations: 51.81 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.308, allocations: 8 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.308, allocations: 23.98 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.3081, allocations: 19.91 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.3082, allocations: 45.64 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.3084, allocations: 112 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.3084, allocations: 0 / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.44e-06/0.3084, allocations: 4 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3084, allocations: 0 / 0.981 GB, free: 25.77 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.0007166/0.3092, allocations: 432.8 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.3092, allocations: 12.03 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.3093, allocations: 12.84 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.3098, allocations: 266 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.3099, allocations: 8.375 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.3099, allocations: 12.38 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.3102, allocations: 94.2 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3102, allocations: 3.938 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.3103, allocations: 3.984 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3103, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.3105, allocations: 59.95 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007732/0.3113, allocations: 392.5 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.3114, allocations: 46.5 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.3115, allocations: 20.84 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.3116, allocations: 4 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/0.3119, allocations: 111.3 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.3119, allocations: 0 / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004226/0.3123, allocations: 145.5 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.3124, allocations: 59.34 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3125, allocations: 140 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3125, allocations: 29.7 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.3126, allocations: 116 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.3126, allocations: 31.55 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.3126, allocations: 4 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.3127, allocations: 322.8 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3129, allocations: 59.89 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.3131, allocations: 131.1 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.3134, allocations: 208.6 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3134, allocations: 0 / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004349/0.3138, allocations: 251.1 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.3139, allocations: 37.69 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3139, allocations: 0 / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.3139, allocations: 4 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.314, allocations: 27.92 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.3141, allocations: 7.938 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.3143, allocations: 60.02 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.3143, allocations: 12 kB / 0.984 GB, free: 22.39 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.0001322/0.3145, allocations: 131.9 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.3145, allocations: 11.91 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.3145, allocations: 16.72 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3145, allocations: 0 / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3145, allocations: 3.938 kB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3146, allocations: 4 kB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.3151, allocations: 410.7 kB / 0.9845 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3151, allocations: 0 / 0.9845 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.969e-05/0.3152, allocations: 19.92 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3152, allocations: 7.938 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3152, allocations: 0 / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3153, allocations: 0 / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3153, allocations: 0 / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.3157, allocations: 269.1 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.3157, allocations: 84.95 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3157, allocations: 4 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.3158, allocations: 12.03 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3159, allocations: 11.98 kB / 0.9849 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3159, allocations: 4 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.316, allocations: 103.3 kB / 0.985 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.002e-06/0.316, allocations: 0 / 0.985 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002711/0.3162, allocations: 35.92 kB / 0.9851 GB, free: 21.19 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.0002135/0.3165, allocations: 99.25 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.3169, allocations: 195.1 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3169, allocations: 0 / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.317, allocations: 44.72 kB / 0.9854 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.3173, allocations: 15.98 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.3178, allocations: 310 kB / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.318, allocations: 0.7048 MB / 0.9864 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.892e-05/0.3181, allocations: 16.58 kB / 0.9864 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.3181, allocations: 15.44 kB / 0.9864 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.3181, allocations: 0 / 0.9864 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.004071/0.3222, allocations: 1.487 MB / 0.9879 GB, free: 18.26 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)