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.001471/0.001471, allocations: 107.2 kB / 16.41 MB, free: 6.512 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.001637/0.001637, allocations: 187 kB / 17.34 MB, free: 5.742 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.391/2.391, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7625/0.7637, allocations: 151.6 MB / 1.167 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00289/0.7667, allocations: 1.555 MB / 1.169 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.7677, allocations: 0.5843 MB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.7678, allocations: 0 / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.914e-05/0.7679, allocations: 7.875 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.768, allocations: 23.78 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.7684, allocations: 91.77 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.7686, allocations: 95.7 kB / 1.17 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.7687, allocations: 24.2 kB / 1.17 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.7688, allocations: 47.83 kB / 1.17 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.883e-05/0.7689, allocations: 47.83 kB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.769, allocations: 4 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.7691, allocations: 83.86 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.7692, allocations: 27.91 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.7693, allocations: 43.72 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.7695, allocations: 137.4 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.7695, allocations: 3.984 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7695, allocations: 0 / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.7695, allocations: 0 / 1.17 GB, free: 1.301 MB / 0.8887 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.000846/0.7704, allocations: 452.7 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7704, allocations: 12.03 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.7705, allocations: 12.83 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.7707, allocations: 190.4 kB / 1.171 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.7707, allocations: 12.38 kB / 1.171 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.7707, allocations: 4.375 kB / 1.171 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.7711, allocations: 117.7 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.7711, allocations: 0 / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.7711, allocations: 4 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.7711, allocations: 4 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.7715, allocations: 87.91 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.7722, allocations: 352.5 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.7725, allocations: 94.44 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.7727, allocations: 60.88 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.7727, allocations: 4 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.773, allocations: 107.3 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/0.773, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0006569/0.7737, allocations: 213.5 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.7737, allocations: 55.39 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.7739, allocations: 137.8 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.7739, allocations: 33.7 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.774, allocations: 100 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.774, allocations: 27.56 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.7741, allocations: 25.7 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7742, allocations: 330.8 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.7744, allocations: 59.89 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.7746, allocations: 55.95 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.7749, allocations: 138.5 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7749, allocations: 0 / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004742/0.7754, allocations: 211.2 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.7755, allocations: 33.7 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.7755, allocations: 480 / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7755, allocations: 0 / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.7757, allocations: 19.97 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.7757, allocations: 4 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.7758, allocations: 15.98 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.7758, allocations: 11.94 kB / 1.173 GB, free: 14.12 MB / 0.9044 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 9.897e-05/0.776, allocations: 121.8 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.776, allocations: 11.81 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.776, allocations: 12.72 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.776, allocations: 4 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7761, allocations: 3.984 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7761, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.7762, allocations: 201.5 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7763, allocations: 4 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.7764, allocations: 19.97 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7764, allocations: 3.938 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.7764, allocations: 0 / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7764, allocations: 0 / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7764, allocations: 0 / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.7768, allocations: 180.9 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.7769, allocations: 85.02 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.7769, allocations: 8 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.7771, allocations: 19.95 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.7771, allocations: 19.92 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.7772, allocations: 0 / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.449e-05/0.7772, allocations: 109.5 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7772, allocations: 4 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002483/0.7775, allocations: 35.94 kB / 1.174 GB, free: 13.2 MB / 0.9044 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.0001701/0.7777, allocations: 119.2 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.7782, allocations: 183.2 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7782, allocations: 3.938 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.7784, allocations: 67.95 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.7786, allocations: 15.31 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.7792, allocations: 261.2 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.7794, allocations: 0.7007 MB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.7795, allocations: 19.44 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.7795, allocations: 3.938 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.003401/0.7829, allocations: 1.509 MB / 1.176 GB, free: 10.26 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches