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"}) [: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 9.1.1-maint.9.1.x/package.mo): time 1.82/1.82, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009955/0.0009955, allocations: 172 kB / 487 MB, free: 5.391 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.166/1.166, allocations: 221.3 MB / 0.7819 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008377/0.0008376, allocations: 103.4 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4309/0.4318, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.6301, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5305/1.161, allocations: 148.8 MB / 1.351 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/1.161, allocations: 72.67 kB / 1.351 GB, free: 15.9 MB / 0.8073 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.04725/1.208, allocations: 18.12 MB / 1.368 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/1.208, allocations: 12 kB / 1.368 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/1.208, allocations: 67.61 kB / 1.368 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/1.208, allocations: 206.6 kB / 1.369 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/1.208, allocations: 7.984 kB / 1.369 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/1.209, allocations: 71.05 kB / 1.369 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.853e-05/1.209, allocations: 30.62 kB / 1.369 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/1.209, allocations: 209.1 kB / 1.369 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/1.209, allocations: 11.94 kB / 1.369 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/1.209, allocations: 7.984 kB / 1.369 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/1.209, allocations: 0 / 1.369 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/1.21, allocations: 0.8092 MB / 1.37 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/1.21, allocations: 308.5 kB / 1.37 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.606e-05/1.21, allocations: 122.5 kB / 1.37 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/1.21, allocations: 11.98 kB / 1.37 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/1.21, allocations: 349.9 kB / 1.371 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=45): time 1.583e-06/1.21, allocations: 0 / 1.371 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of matching and sorting (n=45): time 0.0005539/1.211, allocations: 357.4 kB / 1.371 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/1.211, allocations: 437.9 kB / 1.371 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/1.211, allocations: 244 kB / 1.372 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/1.211, allocations: 61.19 kB / 1.372 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/1.211, allocations: 135.5 kB / 1.372 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/1.211, allocations: 86.88 kB / 1.372 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/1.211, allocations: 31.62 kB / 1.372 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.153e-05/1.211, allocations: 360.4 kB / 1.372 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/1.212, allocations: 368.1 kB / 1.373 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/1.213, allocations: 0.6328 MB / 1.373 GB, free: 3.457 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/1.214, allocations: 0.5218 MB / 1.374 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.214, allocations: 7.984 kB / 1.374 GB, free: 3.027 MB / 0.8073 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002956/1.217, allocations: 1.258 MB / 1.375 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/1.217, allocations: 8 kB / 1.375 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.217, allocations: 12 kB / 1.375 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.217, allocations: 16 kB / 1.375 GB, free: 1.977 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.412e-05/1.218, allocations: 27.86 kB / 1.375 GB, free: 1.949 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.218, allocations: 19.92 kB / 1.375 GB, free: 1.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/1.22, allocations: 0.585 MB / 1.376 GB, free: 1.348 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/1.22, allocations: 98.67 kB / 1.376 GB, free: 1.262 MB / 0.8073 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.0001986/1.22, allocations: 175 kB / 1.376 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/1.22, allocations: 43.52 kB / 1.376 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.945e-05/1.22, allocations: 43.73 kB / 1.376 GB, free: 1.023 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.22, allocations: 8 kB / 1.376 GB, free: 1.016 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.22, allocations: 4 kB / 1.376 GB, free: 1.012 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.22, allocations: 4 kB / 1.376 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/1.22, allocations: 285.5 kB / 1.376 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/1.22, allocations: 4 kB / 1.376 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/1.22, allocations: 19.92 kB / 1.376 GB, free: 0.7188 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.22, allocations: 4 kB / 1.376 GB, free: 0.7148 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/1.22, allocations: 19.61 kB / 1.376 GB, free: 0.6992 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/1.221, allocations: 7.984 kB / 1.376 GB, free: 0.6914 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.221, allocations: 7.938 kB / 1.376 GB, free: 0.6836 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003804/1.221, allocations: 0.576 MB / 1.377 GB, free: 44 kB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006666/1.222, allocations: 0.953 MB / 1.378 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/1.222, allocations: 120.6 kB / 1.378 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/1.222, allocations: 7.984 kB / 1.378 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/1.222, allocations: 7.984 kB / 1.378 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/1.222, allocations: 57.66 kB / 1.378 GB, free: 14.83 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/1.222, allocations: 27.61 kB / 1.378 GB, free: 14.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000123/1.222, allocations: 175.9 kB / 1.378 GB, free: 14.66 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001219/1.223, allocations: 175.7 kB / 1.378 GB, free: 14.49 MB / 0.823 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.0001699/1.223, allocations: 137.5 kB / 1.378 GB, free: 14.35 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00128/1.225, allocations: 1.087 MB / 1.379 GB, free: 13.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.225, allocations: 4.125 kB / 1.379 GB, free: 13.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/1.225, allocations: 172.1 kB / 1.38 GB, free: 13.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/1.226, allocations: 107.8 kB / 1.38 GB, free: 13.18 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/1.226, allocations: 480.7 kB / 1.38 GB, free: 12.71 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/1.227, allocations: 0.8221 MB / 1.381 GB, free: 11.87 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/1.227, allocations: 0 / 1.381 GB, free: 11.87 MB / 0.823 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