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.001801/0.001801, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002104/0.002104, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.527/1.527, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.822/2.822, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7487, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003046/0.7518, allocations: 1.612 MB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.7528, allocations: 0.5766 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.7529, allocations: 3.938 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.753, allocations: 3.984 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.827e-05/0.7531, allocations: 23.8 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.7535, allocations: 83.86 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.7537, allocations: 91.7 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.7538, allocations: 24.2 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.754, allocations: 47.84 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.7541, allocations: 43.77 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.7541, allocations: 8 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.7542, allocations: 63.89 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.7543, allocations: 19.97 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.7544, allocations: 39.73 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.7547, allocations: 141.5 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7547, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7547, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.7547, allocations: 0 / 1.02 GB, free: 15.93 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.0009514/0.7557, allocations: 452.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.7557, allocations: 8.031 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.7558, allocations: 12.84 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.756, allocations: 193.8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.756, allocations: 8.297 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.7561, allocations: 4.375 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.7564, allocations: 109.9 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.7564, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.7565, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.7565, allocations: 7.984 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.7568, allocations: 83.92 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.7576, allocations: 364.5 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.7579, allocations: 82.52 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.7581, allocations: 60.88 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.7582, allocations: 8.062 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/0.7586, allocations: 115.3 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.914e-06/0.7586, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007077/0.7593, allocations: 205.5 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.7594, allocations: 59.34 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.7595, allocations: 135.5 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.7596, allocations: 25.7 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.7596, allocations: 107.9 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.7597, allocations: 23.66 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/0.7597, allocations: 29.97 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.7599, allocations: 330.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.7601, allocations: 55.95 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.7603, allocations: 59.89 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.7607, allocations: 142.5 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7607, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004787/0.7612, allocations: 207.1 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.7612, allocations: 33.7 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.7613, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.7613, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.7614, allocations: 23.97 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.7615, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.7616, allocations: 19.98 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.7616, allocations: 0 / 1.022 GB, free: 12.77 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.0001436/0.7618, allocations: 125.8 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.7618, allocations: 7.906 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.7619, allocations: 16.66 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.7619, allocations: 7.984 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.7619, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7619, allocations: 4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.7621, allocations: 197.5 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.7621, allocations: 3.984 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.7623, allocations: 19.97 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7623, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.7623, allocations: 4 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.7623, allocations: 4 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7623, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.7628, allocations: 196.7 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.7629, allocations: 85.02 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.7629, allocations: 3.984 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.763, allocations: 11.98 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.7631, allocations: 11.98 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.7632, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.677e-05/0.7632, allocations: 109.3 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7633, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002699/0.7635, allocations: 47.88 kB / 1.023 GB, free: 11.83 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.0001972/0.7637, allocations: 111.8 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005036/0.7642, allocations: 187.2 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7643, allocations: 0 / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.7645, allocations: 71.88 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.7647, allocations: 11.98 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.7653, allocations: 251.7 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.7657, allocations: 0.7041 MB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.721e-05/0.7657, allocations: 11.98 kB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.7658, allocations: 19.42 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7658, allocations: 0 / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.004358/0.7702, allocations: 1.332 MB / 1.026 GB, free: 9.078 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=400 -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