Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker") [: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: 4.367 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 185.2 kB / 487 MB, free: 10.92 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 221.3 MB / 0.7819 GB, free: 3.855 MB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008624/0.0008627, allocations: 96.62 kB / 0.9213 GB, free: 4.949 MB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 5.219e-06/5.249e-06, allocations: 4 kB / 1.066 GB, free: 141 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1826, allocations: 142.3 MB / 1.205 GB, free: 14.68 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5118/0.6945, allocations: 150 MB / 1.352 GB, free: 1.949 MB / 0.8152 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.6948, allocations: 76.61 kB / 1.352 GB, free: 1.875 MB / 0.8152 GB Notification: Performance of FrontEnd: time 0.009466/0.7043, allocations: 3.213 MB / 1.355 GB, free: 14.67 MB / 0.8308 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.7043, allocations: 4 kB / 1.355 GB, free: 14.66 MB / 0.8308 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005474/0.7048, allocations: 443.8 kB / 1.355 GB, free: 14.18 MB / 0.8308 GB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.7049, allocations: 12.03 kB / 1.355 GB, free: 14.17 MB / 0.8308 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.7049, allocations: 11.81 kB / 1.355 GB, free: 14.16 MB / 0.8308 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.7051, allocations: 197.1 kB / 1.356 GB, free: 13.93 MB / 0.8308 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.7051, allocations: 3.938 kB / 1.356 GB, free: 13.92 MB / 0.8308 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.7052, allocations: 4 kB / 1.356 GB, free: 13.92 MB / 0.8308 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001176/0.7053, allocations: 43.98 kB / 1.356 GB, free: 13.88 MB / 0.8308 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.7054, allocations: 77.59 kB / 1.356 GB, free: 13.79 MB / 0.8308 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.7054, allocations: 0 / 1.356 GB, free: 13.79 MB / 0.8308 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7054, allocations: 0 / 1.356 GB, free: 13.79 MB / 0.8308 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7055, allocations: 0 / 1.356 GB, free: 13.79 MB / 0.8308 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.706, allocations: 357.1 kB / 1.356 GB, free: 13.41 MB / 0.8308 GB Notification: Performance of preOpt comSubExp (simulation): time 8.987e-05/0.7061, allocations: 46.58 kB / 1.356 GB, free: 13.35 MB / 0.8308 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.7062, allocations: 40.91 kB / 1.356 GB, free: 13.31 MB / 0.8308 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.7062, allocations: 3.938 kB / 1.356 GB, free: 13.3 MB / 0.8308 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.7063, allocations: 79.38 kB / 1.356 GB, free: 13.21 MB / 0.8308 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.7063, allocations: 4 kB / 1.356 GB, free: 13.21 MB / 0.8308 GB Notification: Performance of matching and sorting (n=9): time 0.0002338/0.7066, allocations: 105.4 kB / 1.356 GB, free: 13.1 MB / 0.8308 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.7066, allocations: 51.41 kB / 1.356 GB, free: 13.04 MB / 0.8308 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.858e-05/0.7067, allocations: 124.8 kB / 1.356 GB, free: 12.91 MB / 0.8308 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.7067, allocations: 29.7 kB / 1.356 GB, free: 12.88 MB / 0.8308 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.7068, allocations: 95.97 kB / 1.357 GB, free: 12.78 MB / 0.8308 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.7068, allocations: 19.72 kB / 1.357 GB, free: 12.76 MB / 0.8308 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.7068, allocations: 0 / 1.357 GB, free: 12.76 MB / 0.8308 GB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.7069, allocations: 322.8 kB / 1.357 GB, free: 12.43 MB / 0.8308 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.707, allocations: 39.98 kB / 1.357 GB, free: 12.39 MB / 0.8308 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-05/0.707, allocations: 24 kB / 1.357 GB, free: 12.37 MB / 0.8308 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.547e-05/0.7071, allocations: 41.83 kB / 1.357 GB, free: 12.33 MB / 0.8308 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7071, allocations: 0 / 1.357 GB, free: 12.33 MB / 0.8308 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000196/0.7073, allocations: 117.5 kB / 1.357 GB, free: 12.21 MB / 0.8308 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.7074, allocations: 4 kB / 1.357 GB, free: 12.21 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.7074, allocations: 0 / 1.357 GB, free: 12.21 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.7074, allocations: 7.984 kB / 1.357 GB, free: 12.2 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.7075, allocations: 27.92 kB / 1.357 GB, free: 12.17 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.7076, allocations: 0.875 kB / 1.357 GB, free: 12.17 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.7077, allocations: 28.11 kB / 1.357 GB, free: 12.14 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.7077, allocations: 11.89 kB / 1.357 GB, free: 12.13 MB / 0.8308 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 1 * 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 6.634e-05/0.7078, allocations: 104.9 kB / 1.357 GB, free: 12.02 MB / 0.8308 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.7078, allocations: 11.91 kB / 1.357 GB, free: 12.01 MB / 0.8308 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.7081, allocations: 122.1 kB / 1.357 GB, free: 11.89 MB / 0.8308 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7081, allocations: 0 / 1.357 GB, free: 11.89 MB / 0.8308 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7081, allocations: 3.906 kB / 1.357 GB, free: 11.89 MB / 0.8308 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7081, allocations: 0 / 1.357 GB, free: 11.89 MB / 0.8308 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.7082, allocations: 185.2 kB / 1.358 GB, free: 11.67 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7082, allocations: 0 / 1.358 GB, free: 11.67 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.7084, allocations: 19.98 kB / 1.358 GB, free: 11.65 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7084, allocations: 4 kB / 1.358 GB, free: 11.65 MB / 0.8308 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.7084, allocations: 0 / 1.358 GB, free: 11.65 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.7084, allocations: 7.891 kB / 1.358 GB, free: 11.64 MB / 0.8308 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7084, allocations: 4 kB / 1.358 GB, free: 11.64 MB / 0.8308 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001773/0.7086, allocations: 125 kB / 1.358 GB, free: 11.5 MB / 0.8308 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.7086, allocations: 85.02 kB / 1.358 GB, free: 11.39 MB / 0.8308 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.7087, allocations: 7.891 kB / 1.358 GB, free: 11.39 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.7088, allocations: 23.98 kB / 1.358 GB, free: 11.36 MB / 0.8308 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.7089, allocations: 19.91 kB / 1.358 GB, free: 11.34 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.7089, allocations: 4 kB / 1.358 GB, free: 11.34 MB / 0.8308 GB Notification: Performance of sort global known variables: time 5.033e-05/0.709, allocations: 105.6 kB / 1.358 GB, free: 11.24 MB / 0.8308 GB Notification: Performance of remove unused functions: time 0.0002187/0.7092, allocations: 43.94 kB / 1.358 GB, free: 11.2 MB / 0.8308 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001467/0.7093, allocations: 115.2 kB / 1.358 GB, free: 11.07 MB / 0.8308 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.7095, allocations: 143.3 kB / 1.358 GB, free: 10.92 MB / 0.8308 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.7095, allocations: 0 / 1.358 GB, free: 10.92 MB / 0.8308 GB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.7096, allocations: 69.69 kB / 1.358 GB, free: 10.84 MB / 0.8308 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.7098, allocations: 12.12 kB / 1.358 GB, free: 10.83 MB / 0.8308 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.7101, allocations: 135.2 kB / 1.358 GB, free: 10.68 MB / 0.8308 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.7104, allocations: 0.7231 MB / 1.359 GB, free: 9.926 MB / 0.8308 GB Notification: Performance of SimCode: time 2.01e-07/0.7104, allocations: 0 / 1.359 GB, free: 9.926 MB / 0.8308 GB Notification: Performance of Templates: time 0.003227/0.7136, allocations: 1.454 MB / 1.361 GB, free: 8.477 MB / 0.8308 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches