Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.0008286/0.0008287, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005573/0.005573, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 8 kB / 0.8728 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6622, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002002/0.6643, allocations: 1.273 MB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.6655, allocations: 0.5845 MB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.6656, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.6657, allocations: 7.922 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.6658, allocations: 7.875 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.6662, allocations: 79.84 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.6664, allocations: 95.64 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.6665, allocations: 16.22 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.6667, allocations: 35.84 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.6668, allocations: 47.77 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.6668, allocations: 7.984 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.667, allocations: 59.89 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.667, allocations: 11.98 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.6671, allocations: 61.44 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.6673, allocations: 133.6 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6673, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6673, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.6674, allocations: 0 / 1.025 GB, free: 13.41 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.0008014/0.6682, allocations: 452.8 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.6682, allocations: 12.03 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.6683, allocations: 12.75 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.6685, allocations: 192.2 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.6685, allocations: 4.375 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.6685, allocations: 4.375 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.6689, allocations: 117.9 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6689, allocations: 3.938 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.6689, allocations: 3.984 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.669, allocations: 8 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.6693, allocations: 107.9 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.6701, allocations: 364.5 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.6705, allocations: 114.4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.6707, allocations: 68.88 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.6707, allocations: 4 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.6711, allocations: 119.3 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.6711, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007565/0.6719, allocations: 237.7 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.6719, allocations: 55.41 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.6721, allocations: 139.7 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.6721, allocations: 29.64 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.6722, allocations: 107.9 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.6722, allocations: 23.64 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.6723, allocations: 17.8 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6724, allocations: 330.8 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.6727, allocations: 63.95 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.6729, allocations: 71.89 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.6733, allocations: 166.5 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6733, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004953/0.6738, allocations: 227.2 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.6738, allocations: 29.7 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6739, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6739, allocations: 4 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.674, allocations: 27.91 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.674, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.6742, allocations: 23.98 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.6742, allocations: 0 / 1.028 GB, free: 10.08 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.6743, allocations: 130.3 kB / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.6744, allocations: 7.906 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.6744, allocations: 8.719 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.6744, allocations: 4 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6744, allocations: 0 / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.6744, allocations: 11.98 kB / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.6746, allocations: 197.4 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6746, allocations: 0 / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.6747, allocations: 23.97 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6748, allocations: 0 / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.6748, allocations: 11.98 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6748, allocations: 0 / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6748, allocations: 0 / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.6753, allocations: 209 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.6753, allocations: 85.02 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.6754, allocations: 3.938 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.6755, allocations: 27.97 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.6756, allocations: 7.984 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.6756, allocations: 4 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.846e-05/0.6757, allocations: 108.6 kB / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6757, allocations: 4 kB / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002672/0.676, allocations: 43.94 kB / 1.029 GB, free: 9.113 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002041/0.6762, allocations: 111.2 kB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005279/0.6767, allocations: 203.5 kB / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6767, allocations: 0 / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.6769, allocations: 79.81 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.6772, allocations: 26.36 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.6777, allocations: 255.1 kB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.678, allocations: 0.7004 MB / 1.031 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.032e-05/0.6781, allocations: 7.984 kB / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.6781, allocations: 11.44 kB / 1.031 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.6781, allocations: 0 / 1.031 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.003931/0.6821, allocations: 1.272 MB / 1.032 GB, free: 6.395 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches