Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.569/2.569, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004917, allocations: 12 kB / 0.8707 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6766, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001555/0.6782, allocations: 1.231 MB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.679, allocations: 0.5459 MB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.6791, allocations: 0 / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.172e-05/0.6792, allocations: 15.92 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.357e-05/0.6792, allocations: 19.91 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.6796, allocations: 63.86 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.837e-05/0.6797, allocations: 59.84 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.6798, allocations: 16.22 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.6799, allocations: 43.83 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.68, allocations: 39.84 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.68, allocations: 4 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.19e-05/0.6801, allocations: 43.95 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.6801, allocations: 19.91 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.6802, allocations: 33.7 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.6803, allocations: 93.73 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6803, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6803, allocations: 3.938 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.6803, allocations: 4 kB / 1.023 GB, free: 14.87 MB / 0.7794 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.0007409/0.6811, allocations: 448.7 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.6811, allocations: 11.98 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.6812, allocations: 7.906 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.6814, allocations: 190.9 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.6814, allocations: 7.953 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.6814, allocations: 8 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.6817, allocations: 109.5 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.6818, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6818, allocations: 4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.6818, allocations: 8 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.6821, allocations: 107.9 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006498/0.6828, allocations: 360.6 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.6831, allocations: 110.4 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.6832, allocations: 0 / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003293/0.6835, allocations: 123.5 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.6835, allocations: 3.938 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000701/0.6842, allocations: 322.4 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.6843, allocations: 55.41 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.6844, allocations: 143 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.6844, allocations: 25.7 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.6845, allocations: 103.9 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.6845, allocations: 31.62 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-06/0.6845, allocations: 4 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6846, allocations: 322.8 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.6848, allocations: 63.95 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.685, allocations: 67.94 kB / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.6853, allocations: 105.6 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6853, allocations: 0 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004571/0.6857, allocations: 207.2 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.6858, allocations: 43.09 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.6858, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.6858, allocations: 3.938 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.686, allocations: 23.98 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.686, allocations: 4 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.6861, allocations: 19.97 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.6862, allocations: 7.953 kB / 1.026 GB, free: 11.62 MB / 0.7794 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: 1 * 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 8.856e-05/0.6863, allocations: 117.8 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.6863, allocations: 23.89 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.6863, allocations: 12.7 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.6863, allocations: 4 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.6863, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6864, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.6865, allocations: 205.4 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6866, allocations: 0 / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.6867, allocations: 19.98 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6867, allocations: 0 / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.6867, allocations: 12.45 kB / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6867, allocations: 0 / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6867, allocations: 4 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.6872, allocations: 208.8 kB / 1.026 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.6872, allocations: 89.02 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.6873, allocations: 0 / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.6874, allocations: 15.98 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.6875, allocations: 23.97 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.6875, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.13e-05/0.6876, allocations: 109.5 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6876, allocations: 0 / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002481/0.6878, allocations: 36 kB / 1.027 GB, free: 10.66 MB / 0.7794 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: 1 * 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.0001633/0.688, allocations: 111.2 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.6885, allocations: 207.2 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6885, allocations: 0 / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.6887, allocations: 80.03 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.6889, allocations: 23.92 kB / 1.027 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.6894, allocations: 247 kB / 1.027 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.6897, allocations: 0.7004 MB / 1.028 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.149e-05/0.6898, allocations: 15.98 kB / 1.028 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.6898, allocations: 15.42 kB / 1.028 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6898, allocations: 0 / 1.028 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of Templates: time 0.003547/0.6934, allocations: 1.233 MB / 1.029 GB, free: 7.965 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches