Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [: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.761/1.761, allocations: 387.2 MB / 394.5 MB, free: 13.76 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.0009761/0.0009761, allocations: 188.5 kB / 487 MB, free: 5.402 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.122/1.122, 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.0008775/0.0008774, allocations: 107.8 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.853e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1852, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4948/0.6801, allocations: 148.8 MB / 1.351 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/0.6803, allocations: 69.91 kB / 1.351 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.005395/0.6857, allocations: 1.795 MB / 1.352 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.6857, allocations: 0 / 1.352 GB, free: 15.56 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003445/0.686, allocations: 401.9 kB / 1.353 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6861, allocations: 9.25 kB / 1.353 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.6861, allocations: 10.2 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/0.6862, allocations: 175.5 kB / 1.353 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.6863, allocations: 1.281 kB / 1.353 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.6863, allocations: 6.016 kB / 1.353 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.842e-05/0.6864, allocations: 23.5 kB / 1.353 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.205e-05/0.6864, allocations: 44.25 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.6864, allocations: 1.281 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.6865, allocations: 4.516 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6865, allocations: 1.312 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.6868, allocations: 305.2 kB / 1.353 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.087e-05/0.6869, allocations: 44.97 kB / 1.353 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.687, allocations: 21.92 kB / 1.353 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-06/0.687, allocations: 1.344 kB / 1.353 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.003e-05/0.687, allocations: 69.38 kB / 1.353 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.6871, allocations: 0 / 1.353 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001628/0.6872, allocations: 73.03 kB / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.6873, allocations: 54.42 kB / 1.354 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.767e-05/0.6873, allocations: 110.9 kB / 1.354 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.6873, allocations: 33.39 kB / 1.354 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.6874, allocations: 88.09 kB / 1.354 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.6874, allocations: 15.06 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.6874, allocations: 1.125 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.6875, allocations: 318.9 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-05/0.6875, allocations: 35.5 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.6876, allocations: 67.58 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.6878, allocations: 48.84 kB / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6878, allocations: 4.969 kB / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000323/0.6882, allocations: 151.9 kB / 1.354 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.6882, allocations: 9.75 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.6882, allocations: 0.7188 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.6882, allocations: 9.531 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.6883, allocations: 18.52 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.6883, allocations: 3.719 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.6885, allocations: 51.36 kB / 1.355 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.6886, allocations: 10.52 kB / 1.355 GB, free: 13.85 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.6886, allocations: 110.1 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.6887, allocations: 8.844 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.6887, allocations: 8.719 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6887, allocations: 2.531 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6887, allocations: 3.906 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6887, allocations: 1.25 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.6889, allocations: 313.7 kB / 1.355 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.6889, allocations: 1.031 kB / 1.355 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.739e-05/0.689, allocations: 14.22 kB / 1.355 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.689, allocations: 3.906 kB / 1.355 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.689, allocations: 0.9062 kB / 1.355 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.689, allocations: 1.375 kB / 1.355 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.689, allocations: 4 kB / 1.355 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001043/0.6892, allocations: 171.7 kB / 1.355 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.6892, allocations: 83.16 kB / 1.355 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.6892, allocations: 1.859 kB / 1.355 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.6893, allocations: 10.48 kB / 1.355 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.6894, allocations: 10.19 kB / 1.355 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.6894, allocations: 9.469 kB / 1.355 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.812e-05/0.6894, allocations: 88.73 kB / 1.355 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002422/0.6896, allocations: 22.7 kB / 1.355 GB, free: 13.14 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001216/0.6898, allocations: 106.5 kB / 1.355 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.69, allocations: 108.9 kB / 1.356 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.69, allocations: 0 / 1.356 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.69, allocations: 32.67 kB / 1.356 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.6902, allocations: 14.22 kB / 1.356 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.6905, allocations: 101.7 kB / 1.356 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.6907, allocations: 0.703 MB / 1.356 GB, free: 28.21 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.6907, allocations: 4.688 kB / 1.356 GB, free: 28.21 MB / 0.823 GB Notification: Performance of Templates: time 0.003395/0.6941, allocations: 1.304 MB / 1.358 GB, free: 28.1 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches