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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008275/0.0008276, allocations: 91.38 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.723/2.723, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005915/0.0005915, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.6724, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001569/0.674, allocations: 1.27 MB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009155/0.6749, allocations: 0.5885 MB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.6749, allocations: 0 / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.429e-05/0.675, allocations: 7.922 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.6751, allocations: 7.875 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.6754, allocations: 75.84 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.6755, allocations: 91.64 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.6756, allocations: 20.22 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.6758, allocations: 35.91 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.6759, allocations: 47.77 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.6759, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.676, allocations: 63.88 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.676, allocations: 19.92 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.6761, allocations: 57.5 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.6762, allocations: 85.8 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6763, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6763, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.6763, allocations: 0 / 1.026 GB, free: 13.48 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.0007443/0.677, allocations: 452.8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6771, allocations: 8.031 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.6771, allocations: 16.75 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.6773, allocations: 196.1 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.6773, allocations: 384 / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.6773, allocations: 8.375 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.6777, allocations: 117.9 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.6777, allocations: 0 / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.6777, allocations: 0 / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.6777, allocations: 8 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.6781, allocations: 111.8 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.6787, allocations: 356.6 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.6791, allocations: 110.5 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.6793, allocations: 68.88 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.6793, allocations: 7.875 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003182/0.6796, allocations: 123.3 kB / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.6796, allocations: 0 / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006845/0.6803, allocations: 241.5 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.6804, allocations: 51.41 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.861e-05/0.6805, allocations: 139.4 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.6805, allocations: 33.7 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.6806, allocations: 99.91 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.6806, allocations: 27.64 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.6806, allocations: 17.72 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6807, allocations: 322.8 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.681, allocations: 67.95 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.6812, allocations: 72 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.6815, allocations: 170.4 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6816, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004893/0.6821, allocations: 215.1 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.6821, allocations: 36.05 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6821, allocations: 0 / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6821, allocations: 3.984 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.6823, allocations: 19.98 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6823, allocations: 4 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.6825, allocations: 23.98 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.6825, allocations: 15.92 kB / 1.029 GB, free: 10.15 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.0001054/0.6826, allocations: 122.3 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.6826, allocations: 11.91 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.6827, allocations: 13.17 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.6827, allocations: 4 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6827, allocations: 0 / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6827, allocations: 0 / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.6829, allocations: 209.4 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6829, allocations: 7.938 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.683, allocations: 23.92 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.683, allocations: 0 / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.6831, allocations: 3.984 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6831, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6831, allocations: 4 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.6835, allocations: 200.8 kB / 1.03 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.6836, allocations: 93 kB / 1.03 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.6836, allocations: 4 kB / 1.03 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.6838, allocations: 15.98 kB / 1.03 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.641e-05/0.6838, allocations: 15.98 kB / 1.03 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.6839, allocations: 3.984 kB / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.909e-05/0.6839, allocations: 104.8 kB / 1.03 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6839, allocations: 0 / 1.03 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002534/0.6842, allocations: 43.92 kB / 1.03 GB, free: 9.191 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.0001769/0.6844, allocations: 123.2 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.6849, allocations: 199.2 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6849, allocations: 0 / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.6851, allocations: 79.88 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.6853, allocations: 8 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.6859, allocations: 289.1 kB / 1.031 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.6861, allocations: 0.6965 MB / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.6862, allocations: 15.42 kB / 1.031 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.6862, allocations: 0 / 1.031 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of Templates: time 0.003348/0.6896, allocations: 1.507 MB / 1.033 GB, free: 6.215 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/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