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.736/1.736, allocations: 289.9 MB / 297.4 MB, free: 6.352 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: 180.8 kB / 366.7 MB, free: 1.637 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.581/1.581, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.001033/0.001033, allocations: 87.45 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.531e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7562, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2992/1.055, allocations: 138.6 MB / 1.109 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/1.056, allocations: 72.48 kB / 1.109 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0812/1.137, allocations: 17.24 MB / 1.126 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.473e-06/1.137, allocations: 0 / 1.126 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.138e-05/1.137, allocations: 4 kB / 1.126 GB, free: 10.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.001583/1.139, allocations: 0.9696 MB / 1.127 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/1.139, allocations: 12.03 kB / 1.127 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/1.139, allocations: 59.72 kB / 1.127 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/1.14, allocations: 212.1 kB / 1.127 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/1.14, allocations: 5.109 kB / 1.127 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/1.14, allocations: 71.98 kB / 1.127 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001737/1.14, allocations: 32 kB / 1.127 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/1.141, allocations: 206.4 kB / 1.127 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/1.141, allocations: 3.938 kB / 1.127 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/1.141, allocations: 7.984 kB / 1.127 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/1.141, allocations: 3.984 kB / 1.127 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/1.142, allocations: 0.8138 MB / 1.128 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/1.143, allocations: 311.3 kB / 1.128 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/1.143, allocations: 128.9 kB / 1.128 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/1.143, allocations: 4 kB / 1.128 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008443/1.144, allocations: 437.2 kB / 1.129 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 3.266e-06/1.144, allocations: 5.312 kB / 1.129 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001289/1.145, allocations: 421 kB / 1.129 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002985/1.145, allocations: 431.2 kB / 1.13 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/1.146, allocations: 249 kB / 1.13 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002437/1.146, allocations: 57.69 kB / 1.13 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/1.146, allocations: 161.2 kB / 1.13 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/1.147, allocations: 83.02 kB / 1.13 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/1.147, allocations: 28 kB / 1.13 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002596/1.147, allocations: 354.8 kB / 1.13 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/1.148, allocations: 365.3 kB / 1.131 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/1.15, allocations: 0.6342 MB / 1.131 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/1.153, allocations: 0.5036 MB / 1.132 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.153, allocations: 4 kB / 1.132 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006078/1.159, allocations: 1.274 MB / 1.133 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005248/1.159, allocations: 484.5 kB / 1.134 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.925e-05/1.16, allocations: 14.5 kB / 1.134 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.639e-05/1.16, allocations: 19.92 kB / 1.134 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/1.16, allocations: 35.8 kB / 1.134 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/1.16, allocations: 19.94 kB / 1.134 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/1.164, allocations: 0.5271 MB / 1.134 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004544/1.164, allocations: 103.9 kB / 1.134 GB, free: 480 kB / 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.0005312/1.165, allocations: 182 kB / 1.135 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001183/1.166, allocations: 392.8 kB / 1.135 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.166, allocations: 43.52 kB / 1.135 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/1.166, allocations: 34.45 kB / 1.135 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/1.167, allocations: 12 kB / 1.135 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/1.167, allocations: 4 kB / 1.135 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/1.167, allocations: 7.984 kB / 1.135 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/1.167, allocations: 285.9 kB / 1.135 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.167, allocations: 7.953 kB / 1.135 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/1.167, allocations: 25.23 kB / 1.135 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/1.167, allocations: 4 kB / 1.135 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/1.167, allocations: 19.98 kB / 1.135 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/1.167, allocations: 4 kB / 1.135 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/1.167, allocations: 4 kB / 1.135 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/1.169, allocations: 0.6382 MB / 1.136 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/1.169, allocations: 116.7 kB / 1.136 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/1.169, allocations: 11.98 kB / 1.136 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/1.169, allocations: 11.98 kB / 1.136 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.169, allocations: 55.89 kB / 1.136 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/1.169, allocations: 31.36 kB / 1.136 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000257/1.17, allocations: 172.6 kB / 1.136 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.1e-07/1.17, allocations: 0 / 1.136 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001718/1.171, allocations: 192 kB / 1.137 GB, free: 14.04 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.00306/1.175, allocations: 2.18 MB / 1.139 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003825/1.178, allocations: 1.649 MB / 1.14 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/1.178, allocations: 8.281 kB / 1.14 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004516/1.179, allocations: 163.7 kB / 1.14 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/1.18, allocations: 100.9 kB / 1.141 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/1.183, allocations: 0.5495 MB / 1.141 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/1.183, allocations: 0.78 MB / 1.142 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002638/1.184, allocations: 47.27 kB / 1.142 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/1.184, allocations: 111.4 kB / 1.142 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of SimCode: time 5.501e-06/1.184, allocations: 4 kB / 1.142 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06137/1.245, allocations: 12.67 MB / 1.154 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003187/1.246, allocations: 163 kB / 1.155 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.619, allocations: 2.344 kB / 1.155 GB, free: 11.51 MB / 0.7605 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)