Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") [: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.77/1.77, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.000983/0.000983, allocations: 184.4 kB / 487 MB, free: 5.359 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.111/1.111, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0008783/0.0008783, allocations: 85.88 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.213e-06/7.244e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1856, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5097/0.6954, allocations: 148.7 MB / 1.35 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.6956, allocations: 71.06 kB / 1.351 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.006298/0.7019, allocations: 2.139 MB / 1.353 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.7019, allocations: 5.562 kB / 1.353 GB, free: 15.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003489/0.7023, allocations: 390.9 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.7023, allocations: 9.562 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.7023, allocations: 6.031 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.146e-05/0.7024, allocations: 169.5 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.7025, allocations: 0.8906 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.7025, allocations: 6.312 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.836e-05/0.7026, allocations: 31.33 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.7027, allocations: 70.39 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.7027, allocations: 0 / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.7027, allocations: 4.609 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.7027, allocations: 1.344 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.7031, allocations: 295.9 kB / 1.354 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.912e-05/0.7032, allocations: 60.17 kB / 1.354 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.7033, allocations: 37.61 kB / 1.354 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.7033, allocations: 3.688 kB / 1.354 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.7034, allocations: 83.19 kB / 1.354 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.7034, allocations: 1.375 kB / 1.354 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.000199/0.7036, allocations: 100.3 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.7037, allocations: 55.98 kB / 1.354 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.804e-05/0.7037, allocations: 107 kB / 1.354 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.7037, allocations: 27.86 kB / 1.354 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.7038, allocations: 88.64 kB / 1.354 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.7038, allocations: 21.47 kB / 1.354 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.7038, allocations: 1.875 kB / 1.354 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.666e-05/0.7039, allocations: 318.7 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.7039, allocations: 42.31 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.704, allocations: 62.34 kB / 1.355 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.7042, allocations: 63.12 kB / 1.355 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7042, allocations: 0 / 1.355 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005121/0.7048, allocations: 193.8 kB / 1.355 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.7048, allocations: 11.14 kB / 1.355 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.7048, allocations: 0 / 1.355 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.7049, allocations: 38.59 kB / 1.355 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.705, allocations: 7.469 kB / 1.355 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007091/0.7057, allocations: 1.327 MB / 1.356 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.7059, allocations: 47.83 kB / 1.356 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.7059, allocations: 15.42 kB / 1.356 GB, free: 12.53 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/0.706, allocations: 109.6 kB / 1.356 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.706, allocations: 6.25 kB / 1.356 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.7061, allocations: 11.03 kB / 1.356 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.7061, allocations: 5.469 kB / 1.356 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.22e-07/0.7061, allocations: 0 / 1.356 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7061, allocations: 2.734 kB / 1.356 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.7063, allocations: 344.1 kB / 1.357 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.7063, allocations: 0 / 1.357 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.7064, allocations: 6.406 kB / 1.357 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7064, allocations: 0.875 kB / 1.357 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.7064, allocations: 7.359 kB / 1.357 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7064, allocations: 0 / 1.357 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7064, allocations: 1.734 kB / 1.357 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001561/0.7066, allocations: 203.8 kB / 1.357 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.7066, allocations: 79.72 kB / 1.357 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.7066, allocations: 6.484 kB / 1.357 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.7067, allocations: 5.734 kB / 1.357 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.7068, allocations: 9.422 kB / 1.357 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.7068, allocations: 3.922 kB / 1.357 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.654e-05/0.7068, allocations: 86.94 kB / 1.357 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002848/0.7071, allocations: 29.94 kB / 1.357 GB, free: 11.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001277/0.7072, allocations: 118.5 kB / 1.357 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.7075, allocations: 218 kB / 1.357 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7076, allocations: 3.938 kB / 1.357 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.7076, allocations: 44.7 kB / 1.357 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.7078, allocations: 12.64 kB / 1.357 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002218/0.708, allocations: 116.6 kB / 1.358 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.7082, allocations: 0.6996 MB / 1.358 GB, free: 26.78 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.7082, allocations: 0.9375 kB / 1.358 GB, free: 26.78 MB / 0.823 GB Notification: Performance of Templates: time 0.003819/0.712, allocations: 1.633 MB / 1.36 GB, free: 26.66 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches