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 1.624/1.624, allocations: 285.4 MB / 298 MB, free: 5.973 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.00105/0.00105, allocations: 184.8 kB / 366.4 MB, free: 2.074 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.738/1.738, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.001005/0.001005, allocations: 88.38 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.118e-05/6.174e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.7406, allocations: 115.3 MB / 0.971 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2409/0.9816, allocations: 138.3 MB / 1.106 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.982, allocations: 71.95 kB / 1.106 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05408/1.036, allocations: 17.31 MB / 1.123 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/1.036, allocations: 0 / 1.123 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.01e-05/1.036, allocations: 4 kB / 1.123 GB, free: 12.18 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.001678/1.038, allocations: 0.9646 MB / 1.124 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/1.038, allocations: 12.03 kB / 1.124 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/1.038, allocations: 46.53 kB / 1.124 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004984/1.039, allocations: 59.72 kB / 1.124 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/1.039, allocations: 204.2 kB / 1.124 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/1.039, allocations: 43.98 kB / 1.124 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/1.039, allocations: 65.67 kB / 1.124 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/1.04, allocations: 210.3 kB / 1.125 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.04, allocations: 0 / 1.125 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/1.04, allocations: 11.97 kB / 1.125 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/1.04, allocations: 4 kB / 1.125 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/1.04, allocations: 75.73 kB / 1.125 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/1.041, allocations: 0.8406 MB / 1.125 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/1.042, allocations: 323.3 kB / 1.126 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/1.042, allocations: 136.9 kB / 1.126 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/1.042, allocations: 11.94 kB / 1.126 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005826/1.042, allocations: 448.9 kB / 1.126 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 4.108e-06/1.042, allocations: 4 kB / 1.126 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001078/1.044, allocations: 464.9 kB / 1.127 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002208/1.044, allocations: 439.2 kB / 1.127 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/1.044, allocations: 254.6 kB / 1.127 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002557/1.044, allocations: 61.7 kB / 1.128 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/1.045, allocations: 161.2 kB / 1.128 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/1.045, allocations: 98.98 kB / 1.128 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/1.045, allocations: 33.97 kB / 1.128 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.045, allocations: 350.8 kB / 1.128 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008754/1.046, allocations: 409.3 kB / 1.129 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/1.047, allocations: 0.686 MB / 1.129 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/1.048, allocations: 0.8102 MB / 1.13 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/1.048, allocations: 4 kB / 1.13 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002812/1.051, allocations: 1.678 MB / 1.132 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002873/1.051, allocations: 481.5 kB / 1.132 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/1.051, allocations: 8 kB / 1.132 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/1.051, allocations: 19.94 kB / 1.132 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/1.051, allocations: 35.84 kB / 1.132 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/1.051, allocations: 15.94 kB / 1.132 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/1.054, allocations: 0.5422 MB / 1.133 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/1.054, allocations: 98.5 kB / 1.133 GB, free: 1.027 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.0003421/1.054, allocations: 200.6 kB / 1.133 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.055, allocations: 47.52 kB / 1.133 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.848e-05/1.055, allocations: 34.14 kB / 1.133 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/1.055, allocations: 11.98 kB / 1.133 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.055, allocations: 4 kB / 1.133 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/1.055, allocations: 7.984 kB / 1.133 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/1.055, allocations: 334.8 kB / 1.133 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.055, allocations: 11.75 kB / 1.133 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/1.055, allocations: 19.92 kB / 1.133 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/1.055, allocations: 8 kB / 1.133 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/1.055, allocations: 15.98 kB / 1.133 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/1.055, allocations: 8 kB / 1.133 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.055, allocations: 7.938 kB / 1.133 GB, free: 276 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/1.056, allocations: 0.668 MB / 1.134 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/1.056, allocations: 112.6 kB / 1.134 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/1.056, allocations: 18.55 kB / 1.134 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/1.056, allocations: 15.98 kB / 1.134 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/1.056, allocations: 63.83 kB / 1.134 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/1.057, allocations: 27.98 kB / 1.134 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001724/1.057, allocations: 186.2 kB / 1.135 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.057, allocations: 0 / 1.135 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007495/1.057, allocations: 208 kB / 1.135 GB, free: 14.82 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.001486/1.059, allocations: 2.208 MB / 1.137 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001977/1.061, allocations: 1.72 MB / 1.139 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.061, allocations: 0 / 1.139 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/1.061, allocations: 183.7 kB / 1.139 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006327/1.062, allocations: 103.8 kB / 1.139 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/1.063, allocations: 0.6016 MB / 1.139 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/1.064, allocations: 0.7815 MB / 1.14 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001459/1.064, allocations: 46.95 kB / 1.14 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/1.064, allocations: 111.4 kB / 1.14 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/1.064, allocations: 1.688 kB / 1.14 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/1.095, allocations: 13.82 MB / 1.154 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/1.095, allocations: 196.2 kB / 1.154 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/3.307, allocations: 0 / 1.154 GB, free: 11.11 MB / 0.7605 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)