Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.PulsePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",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.818/1.818, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009125/0.0009126, allocations: 184.1 kB / 490.8 MB, free: 1.902 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.145/1.145, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0008384/0.0008384, allocations: 98.78 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4185/0.4193, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.6054, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4969/1.102, allocations: 149.6 MB / 1.358 GB, free: 17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/1.103, allocations: 68.33 kB / 1.358 GB, free: 17 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.04894/1.152, allocations: 18.12 MB / 1.376 GB, free: 31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.152, allocations: 9.891 kB / 1.376 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/1.152, allocations: 61.62 kB / 1.376 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/1.152, allocations: 204.6 kB / 1.376 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/1.152, allocations: 15.39 kB / 1.376 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/1.152, allocations: 67.95 kB / 1.376 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001134/1.152, allocations: 39.55 kB / 1.376 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/1.153, allocations: 213.5 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.153, allocations: 5.062 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/1.153, allocations: 6.312 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/1.153, allocations: 3 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/1.154, allocations: 0.8071 MB / 1.377 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/1.154, allocations: 309.5 kB / 1.377 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/1.154, allocations: 123.2 kB / 1.377 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/1.154, allocations: 12.72 kB / 1.377 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000346/1.154, allocations: 347.5 kB / 1.378 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 2.554e-06/1.154, allocations: 4.969 kB / 1.378 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0007268/1.155, allocations: 362.9 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/1.155, allocations: 433.9 kB / 1.378 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/1.155, allocations: 247.5 kB / 1.379 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/1.156, allocations: 54.92 kB / 1.379 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/1.156, allocations: 136.6 kB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/1.156, allocations: 92.33 kB / 1.379 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.156, allocations: 28.5 kB / 1.379 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.156, allocations: 349.3 kB / 1.379 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007569/1.157, allocations: 363.6 kB / 1.38 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007921/1.158, allocations: 0.6347 MB / 1.38 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/1.16, allocations: 0.5308 MB / 1.381 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.16, allocations: 7.75 kB / 1.381 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003246/1.163, allocations: 1.251 MB / 1.382 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.163, allocations: 8.219 kB / 1.382 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.163, allocations: 10.09 kB / 1.382 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/1.163, allocations: 18.94 kB / 1.382 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.095e-05/1.163, allocations: 31.56 kB / 1.382 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.163, allocations: 17.56 kB / 1.382 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/1.165, allocations: 0.5905 MB / 1.383 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/1.165, allocations: 97.34 kB / 1.383 GB, free: 27.17 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.0002062/1.166, allocations: 171.7 kB / 1.383 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/1.166, allocations: 43.48 kB / 1.383 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/1.166, allocations: 41.95 kB / 1.383 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.166, allocations: 8.062 kB / 1.383 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.166, allocations: 4.938 kB / 1.383 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/1.166, allocations: 7.953 kB / 1.383 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/1.166, allocations: 288.3 kB / 1.383 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.166, allocations: 7.125 kB / 1.383 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/1.166, allocations: 19.3 kB / 1.383 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/1.166, allocations: 6 kB / 1.383 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/1.166, allocations: 21.92 kB / 1.383 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.166, allocations: 4.5 kB / 1.383 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.166, allocations: 8.5 kB / 1.383 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004424/1.167, allocations: 0.5819 MB / 1.384 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005247/1.167, allocations: 0.9565 MB / 1.385 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/1.167, allocations: 116.9 kB / 1.385 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/1.167, allocations: 10.52 kB / 1.385 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/1.167, allocations: 5.375 kB / 1.385 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/1.168, allocations: 53.09 kB / 1.385 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/1.168, allocations: 28.11 kB / 1.385 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001218/1.168, allocations: 177.6 kB / 1.385 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00114/1.169, allocations: 172.3 kB / 1.385 GB, free: 25.18 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.0001488/1.169, allocations: 135 kB / 1.386 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001244/1.17, allocations: 1.094 MB / 1.387 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.17, allocations: 1.219 kB / 1.387 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/1.17, allocations: 158.2 kB / 1.387 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/1.171, allocations: 101.7 kB / 1.387 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/1.172, allocations: 491.5 kB / 1.387 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/1.172, allocations: 0.8178 MB / 1.388 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.172, allocations: 5.375 kB / 1.388 GB, free: 23.42 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat does not exist to compare? outputFormat=mat