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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001278/0.001278, allocations: 179.3 kB / 498.1 MB, free: 5.742 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.709/1.709, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001016/0.001016, allocations: 88.34 kB / 0.9346 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 9.156 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3468, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/0.5541, allocations: 150.8 MB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.5545, allocations: 87.89 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.5648, allocations: 3.545 MB / 1.374 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.063e-06/0.5649, allocations: 0 / 1.374 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.5649, allocations: 4 kB / 1.374 GB, free: 7.684 MB / 0.8698 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.0007165/0.5656, allocations: 456.5 kB / 1.374 GB, free: 7.184 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5657, allocations: 8.031 kB / 1.374 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.5657, allocations: 15.86 kB / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.566, allocations: 199.5 kB / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.566, allocations: 3.938 kB / 1.374 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.566, allocations: 4 kB / 1.374 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.5664, allocations: 117.5 kB / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5664, allocations: 0 / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.5664, allocations: 7.984 kB / 1.374 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5664, allocations: 0 / 1.374 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.5668, allocations: 111.9 kB / 1.375 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.5674, allocations: 372.6 kB / 1.375 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.5678, allocations: 106.5 kB / 1.375 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.5678, allocations: 0 / 1.375 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.5681, allocations: 127.3 kB / 1.375 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.5681, allocations: 0 / 1.375 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.000746/0.5689, allocations: 306.6 kB / 1.375 GB, free: 5.691 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.5689, allocations: 59.34 kB / 1.376 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.5691, allocations: 131.8 kB / 1.376 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.5691, allocations: 29.7 kB / 1.376 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.5692, allocations: 108 kB / 1.376 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.5692, allocations: 23.78 kB / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.5692, allocations: 4 kB / 1.376 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5694, allocations: 318.8 kB / 1.376 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.5696, allocations: 63.95 kB / 1.376 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.5698, allocations: 67.95 kB / 1.376 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.57, allocations: 93.7 kB / 1.376 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.57, allocations: 384 / 1.376 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004902/0.5705, allocations: 223.1 kB / 1.377 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.5706, allocations: 39.58 kB / 1.377 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5706, allocations: 96 / 1.377 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5706, allocations: 7.938 kB / 1.377 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.5708, allocations: 23.97 kB / 1.377 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5708, allocations: 0 / 1.377 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.5709, allocations: 23.92 kB / 1.377 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.571, allocations: 7.984 kB / 1.377 GB, free: 4.434 MB / 0.8698 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 () * Number of clocked 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 0.0001223/0.5711, allocations: 125.8 kB / 1.377 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.5711, allocations: 11.86 kB / 1.377 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.5717, allocations: 186.2 kB / 1.377 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5717, allocations: 0 / 1.377 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5717, allocations: 0 / 1.377 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5717, allocations: 3.984 kB / 1.377 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.5719, allocations: 197.5 kB / 1.377 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5719, allocations: 4 kB / 1.377 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.572, allocations: 27.97 kB / 1.377 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.572, allocations: 3.938 kB / 1.377 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.5721, allocations: 7.953 kB / 1.377 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5721, allocations: 0 / 1.377 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5721, allocations: 0 / 1.377 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.5725, allocations: 200.9 kB / 1.377 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.5726, allocations: 85.02 kB / 1.377 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.5726, allocations: 7.984 kB / 1.377 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.5728, allocations: 23.94 kB / 1.377 GB, free: 3.461 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.5728, allocations: 23.97 kB / 1.377 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.5729, allocations: 0 / 1.377 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.966e-05/0.573, allocations: 104.3 kB / 1.378 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.573, allocations: 0 / 1.378 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002578/0.5732, allocations: 47.92 kB / 1.378 GB, free: 3.289 MB / 0.8698 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) * Number of clocked states: 0 () * 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.0002101/0.5734, allocations: 123 kB / 1.378 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005341/0.574, allocations: 232.9 kB / 1.378 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.574, allocations: 0 / 1.378 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.5742, allocations: 105.6 kB / 1.378 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.5744, allocations: 15.98 kB / 1.378 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.575, allocations: 251 kB / 1.378 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.5754, allocations: 0.7004 MB / 1.379 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.288e-05/0.5755, allocations: 15.97 kB / 1.379 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.5755, allocations: 15.42 kB / 1.379 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/0.5755, allocations: 0 / 1.379 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of Templates: time 0.004156/0.5797, allocations: 1.272 MB / 1.38 GB, free: 0.4961 MB / 0.8698 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