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.779/1.779, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001584/0.001584, allocations: 176.9 kB / 361.4 MB, free: 6.816 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.803/1.803, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000877/0.000877, allocations: 91.34 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.718e-05, allocations: 8 kB / 0.8518 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.711, allocations: 115.3 MB / 0.9644 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.9087, allocations: 137.9 MB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.9089, allocations: 73.53 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009933/0.9189, allocations: 3.256 MB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.354e-06/0.919, allocations: 0 / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.919, allocations: 4 kB / 1.102 GB, free: 14.67 MB / 0.7136 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.000666/0.9197, allocations: 431 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.9197, allocations: 8.031 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/0.9198, allocations: 20.78 kB / 1.103 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.92, allocations: 184.5 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.92, allocations: 4 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.9201, allocations: 11.81 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.604e-05/0.9202, allocations: 27.94 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.9203, allocations: 66.23 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.9203, allocations: 9.531 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.9204, allocations: 0 / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.9204, allocations: 3.984 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008874/0.9213, allocations: 391 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.795e-05/0.9214, allocations: 30.52 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.9214, allocations: 16.98 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.9214, allocations: 4 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.9216, allocations: 83.33 kB / 1.104 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.973e-06/0.9216, allocations: 4 kB / 1.104 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002289/0.9219, allocations: 92.14 kB / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.9219, allocations: 55.41 kB / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.922, allocations: 127.8 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.9221, allocations: 29.64 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.599e-05/0.9222, allocations: 112.1 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.9222, allocations: 27.61 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.9222, allocations: 4 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9224, allocations: 326.8 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.9225, allocations: 32 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.9226, allocations: 115.5 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.9229, allocations: 69.56 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9229, allocations: 0 / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004902/0.9234, allocations: 201.3 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.313e-05/0.9235, allocations: 37.66 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9235, allocations: 4 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.9235, allocations: 4 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.9237, allocations: 32.31 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.9237, allocations: 11.94 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.9239, allocations: 51.8 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.924, allocations: 8 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,intDef.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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.275e-05/0.9241, allocations: 115.1 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.9241, allocations: 11.91 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.9241, allocations: 20.12 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.9241, allocations: 6.5 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.9242, allocations: 0 / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.9242, allocations: 0 / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.9246, allocations: 352.3 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9246, allocations: 4 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.9247, allocations: 19.98 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.9248, allocations: 3.953 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.9248, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.9248, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9248, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.925, allocations: 217.6 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.9251, allocations: 88.95 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.9251, allocations: 11.98 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.9252, allocations: 11.94 kB / 1.106 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.9253, allocations: 7.984 kB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.9253, allocations: 7.984 kB / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.9254, allocations: 97.86 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9254, allocations: 0 / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002971/0.9257, allocations: 35.98 kB / 1.106 GB, free: 10.79 MB / 0.7136 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 (intDef.trigger,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete 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.0001979/0.9259, allocations: 130.9 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.9261, allocations: 152.5 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9261, allocations: 3.938 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.336e-05/0.9262, allocations: 24 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.9264, allocations: 11.98 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.9269, allocations: 185.4 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.9271, allocations: 0.708 MB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.603e-05/0.9272, allocations: 9.234 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.9272, allocations: 15.38 kB / 1.107 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.9272, allocations: 0 / 1.107 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.003864/0.9311, allocations: 1.436 MB / 1.108 GB, free: 8.129 MB / 0.7136 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)