Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.PulseNegativeStartTime,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.001218/0.001218, allocations: 186.8 kB / 377.1 MB, free: 1.516 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.789/1.789, allocations: 205.4 MB / 0.6366 GB, free: 9.543 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.0009355/0.0009356, allocations: 90.09 kB / 0.7509 GB, free: 62.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 12 kB / 0.8749 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.305, allocations: 116.3 MB / 0.9885 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7851/1.09, allocations: 139.3 MB / 1.125 GB, free: 35.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/1.09, allocations: 72.33 kB / 1.125 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05027/1.141, allocations: 17.36 MB / 1.142 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.879e-06/1.141, allocations: 0.75 kB / 1.142 GB, free: 23.37 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.145e-05/1.141, allocations: 4 kB / 1.142 GB, free: 23.36 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.001662/1.142, allocations: 1.005 MB / 1.143 GB, free: 22.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.143, allocations: 8.031 kB / 1.143 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.062e-05/1.143, allocations: 42.92 kB / 1.143 GB, free: 22.21 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004442/1.143, allocations: 67.66 kB / 1.143 GB, free: 22.15 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/1.143, allocations: 207.2 kB / 1.143 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/1.143, allocations: 41.47 kB / 1.143 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/1.144, allocations: 72.12 kB / 1.143 GB, free: 21.81 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/1.144, allocations: 205.6 kB / 1.143 GB, free: 21.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.144, allocations: 3.938 kB / 1.143 GB, free: 21.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/1.144, allocations: 12.91 kB / 1.143 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/1.144, allocations: 4 kB / 1.143 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/1.144, allocations: 68.53 kB / 1.143 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/1.145, allocations: 0.8418 MB / 1.144 GB, free: 20.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/1.146, allocations: 330.1 kB / 1.144 GB, free: 20.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/1.146, allocations: 5.688 kB / 1.144 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005888/1.146, allocations: 462.5 kB / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.645e-06/1.146, allocations: 0 / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001075/1.147, allocations: 0.5548 MB / 1.145 GB, free: 19.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.148, allocations: 443.5 kB / 1.146 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/1.148, allocations: 258.2 kB / 1.146 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002015/1.148, allocations: 67.02 kB / 1.146 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/1.148, allocations: 161.7 kB / 1.146 GB, free: 18.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/1.148, allocations: 97.25 kB / 1.146 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.148, allocations: 32.56 kB / 1.146 GB, free: 18.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.989e-05/1.149, allocations: 348 kB / 1.147 GB, free: 18.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008101/1.149, allocations: 428.9 kB / 1.147 GB, free: 17.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008738/1.15, allocations: 0.7028 MB / 1.148 GB, free: 16.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/1.151, allocations: 0.8231 MB / 1.149 GB, free: 16.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.151, allocations: 0 / 1.149 GB, free: 16.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002367/1.154, allocations: 1.707 MB / 1.15 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001912/1.154, allocations: 480 kB / 1.151 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.154, allocations: 8 kB / 1.151 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/1.154, allocations: 19.94 kB / 1.151 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/1.154, allocations: 32.8 kB / 1.151 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/1.154, allocations: 18.42 kB / 1.151 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/1.156, allocations: 0.5443 MB / 1.151 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/1.156, allocations: 100.1 kB / 1.151 GB, free: 13.33 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.000406/1.157, allocations: 230.2 kB / 1.152 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/1.157, allocations: 41.41 kB / 1.152 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.896e-05/1.157, allocations: 38.19 kB / 1.152 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/1.157, allocations: 8.703 kB / 1.152 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.157, allocations: 4.938 kB / 1.152 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.157, allocations: 10.34 kB / 1.152 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/1.157, allocations: 326.9 kB / 1.152 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/1.157, allocations: 7.953 kB / 1.152 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/1.157, allocations: 19.41 kB / 1.152 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.157, allocations: 4.609 kB / 1.152 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/1.158, allocations: 21.41 kB / 1.152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/1.158, allocations: 4.609 kB / 1.152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.158, allocations: 8.734 kB / 1.152 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/1.158, allocations: 0.6787 MB / 1.153 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/1.158, allocations: 105.9 kB / 1.153 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/1.158, allocations: 15.47 kB / 1.153 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/1.158, allocations: 15.05 kB / 1.153 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/1.159, allocations: 65.56 kB / 1.153 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/1.159, allocations: 28.08 kB / 1.153 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001556/1.159, allocations: 184.6 kB / 1.153 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.159, allocations: 0 / 1.153 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007957/1.16, allocations: 208.1 kB / 1.153 GB, free: 11.28 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.001014/1.161, allocations: 2.223 MB / 1.156 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001713/1.162, allocations: 1.741 MB / 1.157 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.162, allocations: 4.906 kB / 1.157 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/1.163, allocations: 179.9 kB / 1.157 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005911/1.163, allocations: 106.7 kB / 1.158 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/1.166, allocations: 7.834 MB / 1.165 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/1.166, allocations: 0.7847 MB / 1.166 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001491/1.167, allocations: 42.17 kB / 1.166 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/1.167, allocations: 107.4 kB / 1.166 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/1.167, allocations: 4 kB / 1.166 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/1.197, allocations: 13.63 MB / 1.179 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/1.198, allocations: 203.4 kB / 1.18 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.484, allocations: 2.812 kB / 1.18 GB, free: 1.434 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime_fmu --startTime=-10 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)