Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 181.2 kB / 498.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.1 MB / 0.7948 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008686/0.0008686, allocations: 84.34 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 11.12 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2425, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.4187, allocations: 149.6 MB / 1.369 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4189, allocations: 75.89 kB / 1.369 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05155/0.4705, allocations: 17.43 MB / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4706, allocations: 0 / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.4706, allocations: 4 kB / 1.386 GB, free: 10.84 MB / 0.8855 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.001478/0.4721, allocations: 1.013 MB / 1.387 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4721, allocations: 8.031 kB / 1.387 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.497e-05/0.4722, allocations: 42.55 kB / 1.387 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/0.4726, allocations: 63.67 kB / 1.387 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.4728, allocations: 211.2 kB / 1.387 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.4729, allocations: 35.98 kB / 1.387 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.4732, allocations: 67.98 kB / 1.388 GB, free: 9.211 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.4735, allocations: 218.3 kB / 1.388 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4735, allocations: 0 / 1.388 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.4735, allocations: 8 kB / 1.388 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4735, allocations: 7.984 kB / 1.388 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.4736, allocations: 71.77 kB / 1.388 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.4747, allocations: 0.8406 MB / 1.389 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.475, allocations: 327.3 kB / 1.389 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.475, allocations: 3.938 kB / 1.389 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005651/0.4756, allocations: 465.6 kB / 1.389 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 2.815e-06/0.4756, allocations: 0 / 1.389 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.001048/0.4767, allocations: 0.5575 MB / 1.39 GB, free: 6.375 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/0.4769, allocations: 443.1 kB / 1.39 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.4771, allocations: 259.6 kB / 1.391 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.4773, allocations: 65.7 kB / 1.391 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.4776, allocations: 165.2 kB / 1.391 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.662e-05/0.4777, allocations: 90.98 kB / 1.391 GB, free: 5.258 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.4778, allocations: 36 kB / 1.391 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.4779, allocations: 350.8 kB / 1.391 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008022/0.4788, allocations: 425.3 kB / 1.392 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009447/0.4797, allocations: 0.6989 MB / 1.392 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009414/0.4807, allocations: 0.8181 MB / 1.393 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.4807, allocations: 0 / 1.393 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002657/0.4833, allocations: 1.705 MB / 1.395 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003144/0.4837, allocations: 486.6 kB / 1.395 GB, free: 344 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.4837, allocations: 8 kB / 1.395 GB, free: 336 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/0.4837, allocations: 16 kB / 1.395 GB, free: 320 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.4838, allocations: 35.8 kB / 1.395 GB, free: 284 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.411e-05/0.4839, allocations: 19.92 kB / 1.395 GB, free: 264 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.4864, allocations: 0.5385 MB / 1.396 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.4867, allocations: 99.92 kB / 1.396 GB, free: 15.62 MB / 0.9011 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.0004322/0.4871, allocations: 217.5 kB / 1.396 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.4872, allocations: 47.52 kB / 1.396 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.485e-05/0.4873, allocations: 38.14 kB / 1.396 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.4874, allocations: 8 kB / 1.396 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.4874, allocations: 4 kB / 1.396 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.4874, allocations: 7.984 kB / 1.396 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.4879, allocations: 329.4 kB / 1.397 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4879, allocations: 4 kB / 1.397 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.4879, allocations: 23.92 kB / 1.397 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.4879, allocations: 7.938 kB / 1.397 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.488, allocations: 19.98 kB / 1.397 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.488, allocations: 4 kB / 1.397 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.488, allocations: 4 kB / 1.397 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.4888, allocations: 0.6799 MB / 1.397 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.489, allocations: 116.6 kB / 1.397 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.489, allocations: 15.98 kB / 1.398 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.4891, allocations: 15.98 kB / 1.398 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.534e-05/0.4892, allocations: 63.83 kB / 1.398 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.4893, allocations: 27.98 kB / 1.398 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001705/0.4895, allocations: 183.1 kB / 1.398 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4895, allocations: 0 / 1.398 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007743/0.4903, allocations: 204 kB / 1.398 GB, free: 13.4 MB / 0.9011 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.001471/0.4917, allocations: 2.232 MB / 1.4 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002046/0.4938, allocations: 1.747 MB / 1.402 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4938, allocations: 4.188 kB / 1.402 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.4941, allocations: 184.9 kB / 1.402 GB, free: 8.934 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.4947, allocations: 109.8 kB / 1.402 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.499, allocations: 7.839 MB / 1.41 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.4995, allocations: 0.7803 MB / 1.411 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.4996, allocations: 47.14 kB / 1.411 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.4998, allocations: 111.3 kB / 1.411 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of SimCode: time 5.741e-06/0.4998, allocations: 4 kB / 1.411 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.5299, allocations: 13.61 MB / 1.424 GB, free: 2.457 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.5301, allocations: 210.3 kB / 1.424 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/2.754, allocations: 0 / 1.424 GB, free: 2.215 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime_fmu --startTime=-10 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat does not exist to compare? outputFormat=mat