Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,fileNamePrefix="Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.813/1.813, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001004/0.001004, allocations: 179.9 kB / 490.8 MB, free: 1.984 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.151/1.151, allocations: 221.3 MB / 0.7863 GB, free: 13.75 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.0008987/0.0008987, allocations: 91.64 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4223/0.4232, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.6144, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.506/1.12, allocations: 149.6 MB / 1.358 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/1.121, allocations: 71.08 kB / 1.358 GB, free: 17.23 MB / 0.823 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.0499/1.171, allocations: 18.13 MB / 1.376 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/1.171, allocations: 9 kB / 1.376 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/1.171, allocations: 61.12 kB / 1.376 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/1.171, allocations: 203.5 kB / 1.376 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/1.171, allocations: 10.55 kB / 1.376 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/1.172, allocations: 64.67 kB / 1.376 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001338/1.172, allocations: 41.3 kB / 1.376 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/1.172, allocations: 206.6 kB / 1.376 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.172, allocations: 6.219 kB / 1.376 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/1.172, allocations: 9.578 kB / 1.376 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/1.172, allocations: 3.094 kB / 1.376 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/1.173, allocations: 0.8069 MB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/1.174, allocations: 310.8 kB / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/1.174, allocations: 123.8 kB / 1.377 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/1.174, allocations: 15.28 kB / 1.377 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003933/1.174, allocations: 346.7 kB / 1.378 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 3.095e-06/1.174, allocations: 1.156 kB / 1.378 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0008543/1.175, allocations: 355.4 kB / 1.378 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.175, allocations: 442.1 kB / 1.378 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/1.175, allocations: 242.3 kB / 1.379 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/1.176, allocations: 58.17 kB / 1.379 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/1.176, allocations: 137.5 kB / 1.379 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.416e-05/1.176, allocations: 89.64 kB / 1.379 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/1.176, allocations: 26.53 kB / 1.379 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.176, allocations: 351.4 kB / 1.379 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000804/1.177, allocations: 368.6 kB / 1.38 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008157/1.178, allocations: 0.6377 MB / 1.38 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/1.18, allocations: 0.5227 MB / 1.381 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.18, allocations: 2.688 kB / 1.381 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00338/1.183, allocations: 1.26 MB / 1.382 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.183, allocations: 4.688 kB / 1.382 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.183, allocations: 14.59 kB / 1.382 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/1.183, allocations: 13.94 kB / 1.382 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.583e-05/1.183, allocations: 36.27 kB / 1.382 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.183, allocations: 17.66 kB / 1.382 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/1.186, allocations: 0.59 MB / 1.383 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/1.186, allocations: 90.55 kB / 1.383 GB, free: 27.43 MB / 0.8386 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.000254/1.186, allocations: 180.2 kB / 1.383 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/1.186, allocations: 40.72 kB / 1.383 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.777e-05/1.186, allocations: 35.77 kB / 1.383 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.186, allocations: 12.09 kB / 1.383 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.186, allocations: 13.05 kB / 1.383 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.186, allocations: 4 kB / 1.383 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/1.187, allocations: 289 kB / 1.383 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/1.187, allocations: 7.938 kB / 1.383 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/1.187, allocations: 21.58 kB / 1.383 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.187, allocations: 5.125 kB / 1.383 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/1.187, allocations: 17.86 kB / 1.383 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/1.187, allocations: 5.312 kB / 1.383 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.187, allocations: 3.844 kB / 1.383 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000483/1.187, allocations: 0.5868 MB / 1.384 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005579/1.188, allocations: 0.9568 MB / 1.385 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/1.188, allocations: 108.5 kB / 1.385 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/1.188, allocations: 14.58 kB / 1.385 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/1.188, allocations: 12.73 kB / 1.385 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/1.188, allocations: 51.88 kB / 1.385 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/1.188, allocations: 27.05 kB / 1.385 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001328/1.188, allocations: 170.7 kB / 1.385 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001241/1.19, allocations: 173.7 kB / 1.385 GB, free: 25.43 MB / 0.8386 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.0001779/1.19, allocations: 142.8 kB / 1.386 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00129/1.191, allocations: 1.084 MB / 1.387 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.191, allocations: 1.719 kB / 1.387 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/1.191, allocations: 165.9 kB / 1.387 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/1.192, allocations: 108.7 kB / 1.387 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/1.193, allocations: 479.2 kB / 1.387 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/1.193, allocations: 0.8253 MB / 1.388 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.193, allocations: 0 / 1.388 GB, free: 23.67 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime_fmu --startTime=-10 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat does not exist to compare? outputFormat=mat