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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002048/0.002048, allocations: 189.5 kB / 16.14 MB, free: 6.711 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.6807, allocations: 140.4 MB / 0.9489 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002414/0.6831, allocations: 1.608 MB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.684, allocations: 0.5953 MB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.684, allocations: 1.375 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.6841, allocations: 5.312 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.6842, allocations: 17.23 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.6845, allocations: 67.11 kB / 0.9511 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.419e-05/0.6846, allocations: 94.12 kB / 0.9512 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.6847, allocations: 26.14 kB / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.6848, allocations: 44.41 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.6849, allocations: 49.62 kB / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.6849, allocations: 4.438 kB / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.685, allocations: 49.09 kB / 0.9514 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.6851, allocations: 25.47 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.6852, allocations: 40.27 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.6853, allocations: 133 kB / 0.9516 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6854, allocations: 3.984 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.31e-07/0.6854, allocations: 1.25 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6854, allocations: 0 / 0.9516 GB, free: 7.141 MB / 0.7169 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.0006885/0.6861, allocations: 448.4 kB / 0.952 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.6861, allocations: 9.562 kB / 0.952 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.6862, allocations: 9.375 kB / 0.952 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.6863, allocations: 197.9 kB / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.6863, allocations: 3.219 kB / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.6863, allocations: 3.125 kB / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.6866, allocations: 111.7 kB / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.6867, allocations: 0 / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.6867, allocations: 9.641 kB / 0.9523 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.6867, allocations: 2.844 kB / 0.9523 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.687, allocations: 98.31 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.6876, allocations: 348.6 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.6879, allocations: 94.91 kB / 0.9529 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.6881, allocations: 58.66 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.6881, allocations: 0.9375 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.6884, allocations: 122.1 kB / 0.953 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.6884, allocations: 3.938 kB / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006262/0.6891, allocations: 199.5 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.6891, allocations: 56.8 kB / 0.9533 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.6892, allocations: 144.4 kB / 0.9534 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.6892, allocations: 36.02 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.6893, allocations: 104 kB / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.6893, allocations: 27.03 kB / 0.9536 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.6894, allocations: 25.83 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.6894, allocations: 325.7 kB / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.6896, allocations: 57.17 kB / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.6898, allocations: 56.23 kB / 0.954 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.6902, allocations: 148.2 kB / 0.9542 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6902, allocations: 0 / 0.9542 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004388/0.6906, allocations: 199.5 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.6907, allocations: 35.89 kB / 0.9544 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6907, allocations: 0 / 0.9544 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.6907, allocations: 1.281 kB / 0.9544 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.6908, allocations: 24.88 kB / 0.9544 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.6909, allocations: 480 / 0.9544 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.691, allocations: 17.52 kB / 0.9544 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.691, allocations: 2.562 kB / 0.9544 GB, free: 4.688 MB / 0.7169 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 7.53e-05/0.6911, allocations: 132.4 kB / 0.9546 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.6911, allocations: 7.906 kB / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.6912, allocations: 14.91 kB / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.6912, allocations: 4.188 kB / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6912, allocations: 0 / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6912, allocations: 5.078 kB / 0.9546 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.6913, allocations: 203.3 kB / 0.9548 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6914, allocations: 1 kB / 0.9548 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.6915, allocations: 19.25 kB / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6915, allocations: 0 / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.6915, allocations: 5.156 kB / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6915, allocations: 1.031 kB / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6915, allocations: 0 / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.6919, allocations: 185.4 kB / 0.955 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.692, allocations: 87.67 kB / 0.9551 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.692, allocations: 4.969 kB / 0.9551 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.6921, allocations: 17.12 kB / 0.9551 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.6922, allocations: 12.73 kB / 0.9551 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.6922, allocations: 2.156 kB / 0.9551 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.6923, allocations: 109.4 kB / 0.9552 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6923, allocations: 1.25 kB / 0.9552 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002549/0.6925, allocations: 39.38 kB / 0.9552 GB, free: 3.949 MB / 0.7169 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.0001503/0.6927, allocations: 124.4 kB / 0.9554 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004434/0.6931, allocations: 184.6 kB / 0.9555 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6931, allocations: 0 / 0.9555 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.6934, allocations: 62.45 kB / 0.9556 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.6936, allocations: 13.08 kB / 0.9556 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.6941, allocations: 248.2 kB / 0.9559 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.6942, allocations: 0.7024 MB / 0.9565 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.299e-05/0.6943, allocations: 15.41 kB / 0.9566 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.6943, allocations: 15.34 kB / 0.9566 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.6943, allocations: 0 / 0.9566 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of Templates: time 0.00346/0.6978, allocations: 1.277 MB / 0.9578 GB, free: 2.117 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches