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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.6 MB / 307.5 MB, free: 5.145 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.001227/0.001227, allocations: 185.1 kB / 377.1 MB, free: 1.461 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.038/2.038, allocations: 205.4 MB / 0.6366 GB, free: 8.664 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.001082/0.001082, allocations: 87.45 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004001, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2757, allocations: 116.3 MB / 0.9885 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6408/0.9165, allocations: 139.3 MB / 1.125 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.9168, allocations: 74.89 kB / 1.125 GB, free: 35.37 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04931/0.9661, allocations: 17.36 MB / 1.142 GB, free: 23.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9662, allocations: 4.516 kB / 1.142 GB, free: 23.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.9662, allocations: 4 kB / 1.142 GB, free: 23.3 MB / 0.7292 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.001489/0.9677, allocations: 1.006 MB / 1.143 GB, free: 22.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.9678, allocations: 12.03 kB / 1.143 GB, free: 22.19 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.9678, allocations: 40.19 kB / 1.143 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004079/0.9683, allocations: 66.67 kB / 1.143 GB, free: 22.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.9685, allocations: 210.8 kB / 1.143 GB, free: 21.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.886e-05/0.9685, allocations: 39.28 kB / 1.143 GB, free: 21.81 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.9688, allocations: 71.17 kB / 1.143 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.9691, allocations: 209.4 kB / 1.143 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.9691, allocations: 7.938 kB / 1.143 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.9692, allocations: 7.328 kB / 1.143 GB, free: 21.51 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.9692, allocations: 0 / 1.143 GB, free: 21.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.9693, allocations: 68.81 kB / 1.143 GB, free: 21.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.9706, allocations: 0.845 MB / 1.144 GB, free: 20.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.9709, allocations: 325.6 kB / 1.144 GB, free: 20.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.9709, allocations: 8.625 kB / 1.144 GB, free: 20.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006224/0.9715, allocations: 463.2 kB / 1.145 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.805e-06/0.9715, allocations: 0 / 1.145 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001149/0.9727, allocations: 0.5585 MB / 1.145 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.9728, allocations: 439.1 kB / 1.146 GB, free: 18.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.9731, allocations: 258.5 kB / 1.146 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002485/0.9734, allocations: 67.48 kB / 1.146 GB, free: 18.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.9736, allocations: 161.2 kB / 1.146 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.9737, allocations: 93.67 kB / 1.146 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.9739, allocations: 32.66 kB / 1.146 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9741, allocations: 360.2 kB / 1.147 GB, free: 18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009694/0.975, allocations: 418.6 kB / 1.147 GB, free: 17.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009478/0.976, allocations: 0.7004 MB / 1.148 GB, free: 16.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009258/0.9769, allocations: 0.8318 MB / 1.149 GB, free: 16.01 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.9769, allocations: 4 kB / 1.149 GB, free: 16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00249/0.9794, allocations: 1.698 MB / 1.15 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.9797, allocations: 479.3 kB / 1.151 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.9797, allocations: 12 kB / 1.151 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.893e-05/0.9797, allocations: 17.69 kB / 1.151 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.9798, allocations: 33.27 kB / 1.151 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.9798, allocations: 18.48 kB / 1.151 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/0.9821, allocations: 0.5502 MB / 1.151 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/0.9824, allocations: 93.34 kB / 1.151 GB, free: 13.27 MB / 0.7292 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 () * Number of clocked 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.0004647/0.9829, allocations: 225.9 kB / 1.152 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.983, allocations: 45.78 kB / 1.152 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.426e-05/0.9831, allocations: 34.42 kB / 1.152 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.9831, allocations: 13.22 kB / 1.152 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/0.9831, allocations: 8 kB / 1.152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.9832, allocations: 6.766 kB / 1.152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.9836, allocations: 318.9 kB / 1.152 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.9836, allocations: 7.953 kB / 1.152 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.9837, allocations: 19.59 kB / 1.152 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-06/0.9837, allocations: 8 kB / 1.152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.9837, allocations: 16.17 kB / 1.152 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.9837, allocations: 10.89 kB / 1.152 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.9837, allocations: 7.938 kB / 1.152 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.9845, allocations: 0.6754 MB / 1.153 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.9845, allocations: 105.9 kB / 1.153 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.9846, allocations: 23.47 kB / 1.153 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.9847, allocations: 11.61 kB / 1.153 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.549e-05/0.9848, allocations: 65.27 kB / 1.153 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.9849, allocations: 27.66 kB / 1.153 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001465/0.985, allocations: 188.1 kB / 1.153 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.71e-07/0.985, allocations: 0 / 1.153 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007206/0.9857, allocations: 208.5 kB / 1.153 GB, free: 11.21 MB / 0.7292 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 () * Number of clocked 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.0009879/0.9867, allocations: 2.215 MB / 1.156 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.9886, allocations: 1.752 MB / 1.157 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9886, allocations: 0 / 1.157 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.9888, allocations: 180.8 kB / 1.157 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.9894, allocations: 107.4 kB / 1.158 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.9923, allocations: 7.834 MB / 1.165 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.9927, allocations: 0.7865 MB / 1.166 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.9928, allocations: 46.11 kB / 1.166 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.9929, allocations: 109.8 kB / 1.166 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.9929, allocations: 0 / 1.166 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/1.023, allocations: 13.62 MB / 1.179 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.023, allocations: 210.4 kB / 1.18 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.409, allocations: 4.062 kB / 1.18 GB, free: 1.438 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)