Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.399/3.399, allocations: 287.5 MB / 302.4 MB, free: 8.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 177.2 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.4 MB / 0.6297 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 88.78 kB / 0.743 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006741/0.0006741, allocations: 13.5 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2365, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9486/1.185, allocations: 138.1 MB / 1.113 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.185, allocations: 67.61 kB / 1.113 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0119/1.197, allocations: 2.461 MB / 1.116 GB, free: 31.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/1.197, allocations: 0 / 1.116 GB, free: 31.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.767e-06/1.197, allocations: 0 / 1.116 GB, free: 31.44 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007244/1.198, allocations: 396.2 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/1.198, allocations: 7.562 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/1.198, allocations: 11.59 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/1.198, allocations: 171.1 kB / 1.116 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/1.199, allocations: 11.08 kB / 1.116 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/1.199, allocations: 11.72 kB / 1.116 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/1.199, allocations: 70.12 kB / 1.116 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.199, allocations: 0 / 1.116 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/1.199, allocations: 10.8 kB / 1.116 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.199, allocations: 0 / 1.116 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/1.199, allocations: 36.86 kB / 1.116 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/1.2, allocations: 337.5 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/1.2, allocations: 67.3 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/1.2, allocations: 0 / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/1.201, allocations: 115.6 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/1.201, allocations: 0 / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0008444/1.202, allocations: 183.8 kB / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/1.202, allocations: 54.59 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/1.202, allocations: 112.2 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/1.202, allocations: 29.64 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/1.202, allocations: 88.2 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/1.202, allocations: 19.09 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/1.202, allocations: 7.656 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.202, allocations: 314.8 kB / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/1.202, allocations: 51.19 kB / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/1.203, allocations: 75.7 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/1.203, allocations: 77.78 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.203, allocations: 0 / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006457/1.204, allocations: 202.4 kB / 1.118 GB, free: 29.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/1.204, allocations: 37.33 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.204, allocations: 0 / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/1.204, allocations: 7.969 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/1.204, allocations: 11.12 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.204, allocations: 3.844 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/1.204, allocations: 39.38 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/1.204, allocations: 14.19 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001602/1.204, allocations: 124.3 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/1.204, allocations: 11.75 kB / 1.118 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/1.204, allocations: 8.188 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.205, allocations: 3.812 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.205, allocations: 0 / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.205, allocations: 0 / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007817/1.205, allocations: 410 kB / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.205, allocations: 0 / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/1.205, allocations: 10.09 kB / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/1.205, allocations: 0 / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/1.205, allocations: 2.859 kB / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/1.205, allocations: 0 / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.205, allocations: 3.875 kB / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/1.206, allocations: 256.3 kB / 1.119 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/1.206, allocations: 85 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/1.206, allocations: 4 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/1.206, allocations: 6.078 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/1.206, allocations: 9.984 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/1.207, allocations: 10.33 kB / 1.119 GB, free: 28.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.581e-05/1.207, allocations: 92.66 kB / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-07/1.207, allocations: 0 / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003855/1.207, allocations: 30.59 kB / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002162/1.207, allocations: 116.8 kB / 1.119 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005736/1.208, allocations: 184.4 kB / 1.119 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.208, allocations: 0 / 1.119 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/1.208, allocations: 55.86 kB / 1.12 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/1.208, allocations: 13.8 kB / 1.12 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/1.209, allocations: 185.1 kB / 1.12 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/1.209, allocations: 0.6927 MB / 1.12 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.828e-05/1.209, allocations: 4.984 kB / 1.12 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/1.209, allocations: 11.28 kB / 1.12 GB, free: 27.83 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/1.209, allocations: 0 / 1.12 GB, free: 27.83 MB / 0.698 GB Notification: Performance of Templates: time 0.005352/1.215, allocations: 1.486 MB / 1.122 GB, free: 27.7 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)