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.561/2.561, allocations: 287.5 MB / 303.2 MB, free: 8.266 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.001294/0.001293, allocations: 181.2 kB / 371.8 MB, free: 10.84 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.094/2.094, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009812/0.000981, allocations: 102.8 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006724/0.0006725, allocations: 12.88 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2188, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9384/1.157, allocations: 138.5 MB / 1.115 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.157, allocations: 75.62 kB / 1.115 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01463/1.172, allocations: 3.297 MB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.172, allocations: 3.812 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.081e-05/1.172, allocations: 0 / 1.118 GB, free: 31.2 MB / 0.698 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.0007692/1.173, allocations: 445.7 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.173, allocations: 10 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.564e-05/1.173, allocations: 16.47 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.173, allocations: 182.7 kB / 1.118 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.173, allocations: 10.47 kB / 1.118 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/1.173, allocations: 18.91 kB / 1.118 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/1.174, allocations: 101.7 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.174, allocations: 192 / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/1.174, allocations: 7.781 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.174, allocations: 0 / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/1.174, allocations: 70.03 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/1.175, allocations: 433.6 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/1.176, allocations: 49.83 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/1.176, allocations: 37.08 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/1.176, allocations: 2.766 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/1.176, allocations: 114.4 kB / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.396e-06/1.176, allocations: 0 / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0007344/1.177, allocations: 165.9 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/1.177, allocations: 51.41 kB / 1.119 GB, free: 30.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/1.177, allocations: 159.3 kB / 1.12 GB, free: 29.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/1.177, allocations: 29.45 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/1.177, allocations: 104.8 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/1.177, allocations: 28.61 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/1.177, allocations: 7.781 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.178, allocations: 325.8 kB / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/1.178, allocations: 62.72 kB / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/1.178, allocations: 133.4 kB / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/1.179, allocations: 214.5 kB / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.179, allocations: 0 / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008152/1.18, allocations: 266.4 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/1.18, allocations: 36.25 kB / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.18, allocations: 3.875 kB / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/1.18, allocations: 3.5 kB / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/1.18, allocations: 28.92 kB / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.18, allocations: 16.06 kB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/1.18, allocations: 53.72 kB / 1.121 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/1.18, allocations: 10.84 kB / 1.121 GB, free: 29.08 MB / 0.698 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 () * Number of clocked 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 0.0001835/1.181, allocations: 127.6 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/1.181, allocations: 13 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/1.181, allocations: 13.5 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.181, allocations: 1.344 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.181, allocations: 5.281 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.181, allocations: 2.391 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009272/1.182, allocations: 432.1 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.182, allocations: 3.328 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/1.182, allocations: 18.08 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.182, allocations: 3.938 kB / 1.121 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/1.182, allocations: 7.125 kB / 1.121 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.182, allocations: 3.938 kB / 1.121 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.182, allocations: 4 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/1.183, allocations: 268.5 kB / 1.122 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/1.183, allocations: 92.67 kB / 1.122 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/1.183, allocations: 11.06 kB / 1.122 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/1.183, allocations: 7.688 kB / 1.122 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/1.183, allocations: 7.297 kB / 1.122 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/1.183, allocations: 10.58 kB / 1.122 GB, free: 28.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000114/1.183, allocations: 107.9 kB / 1.122 GB, free: 28.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.183, allocations: 0 / 1.122 GB, free: 28.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004571/1.184, allocations: 42.09 kB / 1.122 GB, free: 28.29 MB / 0.698 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 () * 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.0002805/1.184, allocations: 119.7 kB / 1.122 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001037/1.185, allocations: 199.8 kB / 1.122 GB, free: 28.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.185, allocations: 0 / 1.122 GB, free: 28.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/1.185, allocations: 50.84 kB / 1.122 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/1.186, allocations: 27.31 kB / 1.122 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/1.187, allocations: 288.4 kB / 1.123 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/1.188, allocations: 0.709 MB / 1.123 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001413/1.188, allocations: 11.3 kB / 1.123 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/1.188, allocations: 11.34 kB / 1.123 GB, free: 27.22 MB / 0.698 GB Notification: Performance of SimCode: time 2.464e-06/1.188, allocations: 3.812 kB / 1.123 GB, free: 27.22 MB / 0.698 GB Notification: Performance of Templates: time 0.007316/1.195, allocations: 1.6 MB / 1.125 GB, free: 27.07 MB / 0.698 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)