Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.906/2.906, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.002749/0.002749, allocations: 180.8 kB / 361.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.268/3.268, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.001175/0.001175, allocations: 92.88 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.166e-05/6.156e-05, allocations: 7.984 kB / 0.8519 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283/1.283, allocations: 115.3 MB / 0.9645 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3597/1.643, allocations: 137.6 MB / 1.099 GB, free: 2.215 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005818/1.643, allocations: 72.48 kB / 1.099 GB, free: 2.145 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1062/1.75, allocations: 17.24 MB / 1.116 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.809e-06/1.75, allocations: 0 / 1.116 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.935e-05/1.75, allocations: 4 kB / 1.116 GB, free: 0.9883 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002563/1.752, allocations: 0.9686 MB / 1.117 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.4e-05/1.753, allocations: 11.97 kB / 1.117 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006932/1.753, allocations: 60.75 kB / 1.117 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/1.754, allocations: 212.2 kB / 1.117 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/1.754, allocations: 7.938 kB / 1.117 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004892/1.754, allocations: 65.3 kB / 1.117 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002304/1.755, allocations: 44 kB / 1.117 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/1.755, allocations: 202.3 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/1.755, allocations: 0 / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/1.755, allocations: 7.984 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/1.755, allocations: 4 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/1.757, allocations: 0.819 MB / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/1.758, allocations: 303.3 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/1.758, allocations: 132.9 kB / 1.119 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/1.758, allocations: 4 kB / 1.119 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/1.759, allocations: 445.3 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 4.779e-06/1.759, allocations: 0 / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.002107/1.761, allocations: 416.8 kB / 1.119 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002803/1.762, allocations: 431.2 kB / 1.12 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/1.762, allocations: 242.8 kB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004757/1.763, allocations: 69.62 kB / 1.12 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/1.763, allocations: 161.2 kB / 1.12 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/1.763, allocations: 83.02 kB / 1.12 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/1.764, allocations: 31.98 kB / 1.12 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002439/1.764, allocations: 350.8 kB / 1.121 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/1.765, allocations: 361.3 kB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/1.767, allocations: 0.6342 MB / 1.122 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/1.771, allocations: 0.504 MB / 1.122 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.885e-05/1.771, allocations: 0 / 1.122 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.007746/1.778, allocations: 1.286 MB / 1.123 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005038/1.779, allocations: 477.4 kB / 1.124 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/1.779, allocations: 12 kB / 1.124 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.777e-05/1.779, allocations: 16 kB / 1.124 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/1.779, allocations: 31.86 kB / 1.124 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.029e-05/1.779, allocations: 15.94 kB / 1.124 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005584/1.785, allocations: 0.5385 MB / 1.124 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008616/1.786, allocations: 95.92 kB / 1.124 GB, free: 7.117 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 () * 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.0006924/1.787, allocations: 189.9 kB / 1.125 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001283/1.788, allocations: 397.2 kB / 1.125 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/1.788, allocations: 39.53 kB / 1.125 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/1.788, allocations: 34.45 kB / 1.125 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/1.788, allocations: 8 kB / 1.125 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/1.788, allocations: 4 kB / 1.125 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/1.788, allocations: 11.98 kB / 1.125 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007961/1.789, allocations: 284.1 kB / 1.125 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/1.789, allocations: 7.953 kB / 1.125 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.489e-05/1.789, allocations: 15.92 kB / 1.125 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.71e-05/1.789, allocations: 9.125 kB / 1.125 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/1.789, allocations: 15.98 kB / 1.125 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-05/1.79, allocations: 8 kB / 1.125 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/1.79, allocations: 8.641 kB / 1.125 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/1.791, allocations: 0.6452 MB / 1.126 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/1.791, allocations: 108.7 kB / 1.126 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/1.791, allocations: 11.98 kB / 1.126 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/1.791, allocations: 4 kB / 1.126 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/1.791, allocations: 63.83 kB / 1.126 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.229e-05/1.792, allocations: 30.61 kB / 1.126 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002636/1.792, allocations: 176.6 kB / 1.126 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.11e-07/1.792, allocations: 0 / 1.126 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002132/1.794, allocations: 188 kB / 1.127 GB, free: 4.676 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 () * 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.002197/1.796, allocations: 2.18 MB / 1.129 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004294/1.801, allocations: 1.652 MB / 1.13 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-05/1.801, allocations: 1.062 kB / 1.13 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005763/1.801, allocations: 160.9 kB / 1.131 GB, free: 388 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/1.803, allocations: 101.1 kB / 1.131 GB, free: 292 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/1.806, allocations: 0.5679 MB / 1.131 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/1.806, allocations: 0.7812 MB / 1.132 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000282/1.807, allocations: 43.28 kB / 1.132 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/1.807, allocations: 107.4 kB / 1.132 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of SimCode: time 2.445e-06/1.807, allocations: 4 kB / 1.132 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1377/1.945, allocations: 12.67 MB / 1.144 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00046/1.945, allocations: 186.8 kB / 1.145 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.364/6.309, allocations: 0 / 1.145 GB, free: 2.152 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime_fmu --startTime=-10 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)