Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001138/0.001138, allocations: 183.5 kB / 371.6 MB, free: 3.391 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.716/1.716, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009537/0.0009536, allocations: 92.98 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.391e-05/4.406e-05, allocations: 4 kB / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3008, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9543/1.255, allocations: 139.2 MB / 1.116 GB, free: 44.46 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/1.256, allocations: 77.95 kB / 1.116 GB, free: 44.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04509/1.301, allocations: 17.3 MB / 1.133 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.853e-06/1.301, allocations: 0.6562 kB / 1.133 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.301, allocations: 4 kB / 1.133 GB, free: 34.72 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00079/1.301, allocations: 0.9635 MB / 1.134 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.302, allocations: 8.031 kB / 1.134 GB, free: 33.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/1.302, allocations: 64.86 kB / 1.134 GB, free: 33.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/1.302, allocations: 212.1 kB / 1.134 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/1.302, allocations: 42.2 kB / 1.134 GB, free: 33.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/1.302, allocations: 68.02 kB / 1.134 GB, free: 33.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/1.302, allocations: 215 kB / 1.134 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.302, allocations: 0 / 1.134 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/1.302, allocations: 11.34 kB / 1.134 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/1.302, allocations: 4 kB / 1.134 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/1.303, allocations: 62.44 kB / 1.134 GB, free: 33.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/1.303, allocations: 0.8515 MB / 1.135 GB, free: 32.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/1.304, allocations: 317.2 kB / 1.135 GB, free: 32.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/1.304, allocations: 143.3 kB / 1.136 GB, free: 32.01 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/1.304, allocations: 4.656 kB / 1.136 GB, free: 32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005937/1.304, allocations: 457.2 kB / 1.136 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 1.994e-06/1.304, allocations: 0 / 1.136 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0007681/1.305, allocations: 450.4 kB / 1.136 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.305, allocations: 447 kB / 1.137 GB, free: 30.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/1.306, allocations: 258 kB / 1.137 GB, free: 30.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/1.306, allocations: 66.34 kB / 1.137 GB, free: 30.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/1.306, allocations: 158 kB / 1.137 GB, free: 30.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/1.306, allocations: 94.2 kB / 1.137 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/1.306, allocations: 32.41 kB / 1.138 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.306, allocations: 352.8 kB / 1.138 GB, free: 29.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007295/1.307, allocations: 407.5 kB / 1.138 GB, free: 29.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009184/1.308, allocations: 0.683 MB / 1.139 GB, free: 29.1 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008886/1.309, allocations: 0.8183 MB / 1.14 GB, free: 28.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.309, allocations: 4.656 kB / 1.14 GB, free: 28.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00246/1.311, allocations: 1.676 MB / 1.141 GB, free: 27.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/1.311, allocations: 480.6 kB / 1.142 GB, free: 26.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.311, allocations: 8 kB / 1.142 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/1.311, allocations: 17 kB / 1.142 GB, free: 26.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/1.312, allocations: 32.47 kB / 1.142 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/1.312, allocations: 17.91 kB / 1.142 GB, free: 26.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.314, allocations: 0.5502 MB / 1.142 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/1.314, allocations: 97.56 kB / 1.142 GB, free: 25.98 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0002767/1.314, allocations: 205.2 kB / 1.143 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/1.314, allocations: 45.47 kB / 1.143 GB, free: 25.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.133e-05/1.315, allocations: 35.81 kB / 1.143 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.315, allocations: 8 kB / 1.143 GB, free: 25.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.315, allocations: 8 kB / 1.143 GB, free: 25.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.315, allocations: 6.766 kB / 1.143 GB, free: 25.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/1.315, allocations: 327 kB / 1.143 GB, free: 25.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.315, allocations: 7.953 kB / 1.143 GB, free: 25.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/1.315, allocations: 18.81 kB / 1.143 GB, free: 25.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/1.315, allocations: 8 kB / 1.143 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/1.315, allocations: 16.94 kB / 1.143 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/1.315, allocations: 8.797 kB / 1.143 GB, free: 25.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.315, allocations: 12.59 kB / 1.143 GB, free: 25.39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/1.316, allocations: 0.6567 MB / 1.144 GB, free: 24.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/1.316, allocations: 114.2 kB / 1.144 GB, free: 24.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/1.316, allocations: 18.16 kB / 1.144 GB, free: 24.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/1.316, allocations: 11.53 kB / 1.144 GB, free: 24.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/1.316, allocations: 60.91 kB / 1.144 GB, free: 24.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/1.316, allocations: 30.27 kB / 1.144 GB, free: 24.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001623/1.317, allocations: 187.8 kB / 1.144 GB, free: 24.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.81e-07/1.317, allocations: 4 kB / 1.144 GB, free: 24.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006325/1.317, allocations: 198.9 kB / 1.144 GB, free: 24.21 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002477/1.317, allocations: 142 kB / 1.145 GB, free: 24.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001685/1.319, allocations: 1.729 MB / 1.146 GB, free: 22.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.319, allocations: 4 kB / 1.146 GB, free: 22.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/1.319, allocations: 187.8 kB / 1.146 GB, free: 22.42 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/1.32, allocations: 108.1 kB / 1.147 GB, free: 22.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/1.321, allocations: 0.4908 MB / 1.147 GB, free: 21.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/1.321, allocations: 0.7862 MB / 1.148 GB, free: 21.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001295/1.321, allocations: 47.84 kB / 1.148 GB, free: 21.11 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/1.322, allocations: 33.14 kB / 1.148 GB, free: 21.08 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.322, allocations: 0 / 1.148 GB, free: 21.08 MB / 0.7448 GB Notification: Performance of Templates: time 0.02095/1.342, allocations: 10.86 MB / 1.158 GB, free: 15.05 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)