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.001042/0.001042, allocations: 98.11 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.008244/0.008244, allocations: 172.4 kB / 16.27 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.603/1.603, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.579/2.579, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 15.97 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6764/0.6768, allocations: 142.4 MB / 0.955 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001468/0.6783, allocations: 1.266 MB / 0.9563 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.6792, allocations: 0.5827 MB / 0.9568 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.6793, allocations: 1.344 kB / 0.9568 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.444e-05/0.6794, allocations: 3.938 kB / 0.9568 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.206e-05/0.6795, allocations: 22.06 kB / 0.9569 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.6798, allocations: 67.11 kB / 0.9569 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.6799, allocations: 89.67 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.68, allocations: 21.75 kB / 0.957 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.6802, allocations: 47.8 kB / 0.9571 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.993e-05/0.6803, allocations: 36.73 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.6803, allocations: 3.75 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.64e-05/0.6804, allocations: 60.45 kB / 0.9572 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.6804, allocations: 21 kB / 0.9572 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.6805, allocations: 62.03 kB / 0.9573 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.6807, allocations: 129.1 kB / 0.9574 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6807, allocations: 5 kB / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6807, allocations: 0 / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.6807, allocations: 0 / 0.9574 GB, free: 5.895 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.0006826/0.6814, allocations: 453.4 kB / 0.9578 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.6814, allocations: 9.375 kB / 0.9578 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.6815, allocations: 10 kB / 0.9578 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.6816, allocations: 196.6 kB / 0.958 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.6816, allocations: 3.219 kB / 0.958 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.6817, allocations: 4.594 kB / 0.958 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.682, allocations: 119.9 kB / 0.9581 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.682, allocations: 0 / 0.9581 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.682, allocations: 5.906 kB / 0.9581 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.682, allocations: 3.594 kB / 0.9582 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.6824, allocations: 107 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.6829, allocations: 362.8 kB / 0.9586 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.6832, allocations: 112.2 kB / 0.9587 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.6834, allocations: 63.83 kB / 0.9588 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.6834, allocations: 3.984 kB / 0.9588 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/0.6837, allocations: 127.5 kB / 0.9589 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.6838, allocations: 0 / 0.9589 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006597/0.6844, allocations: 233.8 kB / 0.9591 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.6844, allocations: 60.72 kB / 0.9592 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.6845, allocations: 145.4 kB / 0.9593 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.6846, allocations: 35 kB / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.6846, allocations: 100.2 kB / 0.9594 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.6846, allocations: 27.77 kB / 0.9595 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.6847, allocations: 13.84 kB / 0.9595 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.6847, allocations: 329.5 kB / 0.9598 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.6849, allocations: 65.2 kB / 0.9599 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.6851, allocations: 65.2 kB / 0.9599 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.6855, allocations: 165.1 kB / 0.9601 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6855, allocations: 0.875 kB / 0.9601 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004502/0.6859, allocations: 225.4 kB / 0.9603 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.686, allocations: 31.3 kB / 0.9603 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.686, allocations: 5.031 kB / 0.9603 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.686, allocations: 1.062 kB / 0.9603 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.6861, allocations: 27.84 kB / 0.9604 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.6862, allocations: 4.75 kB / 0.9604 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.6863, allocations: 22.89 kB / 0.9604 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.6863, allocations: 10.61 kB / 0.9604 GB, free: 3.43 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.054e-05/0.6864, allocations: 127.2 kB / 0.9605 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.6864, allocations: 8.531 kB / 0.9605 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.6865, allocations: 11.72 kB / 0.9605 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.6865, allocations: 7.109 kB / 0.9605 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6865, allocations: 0 / 0.9605 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6865, allocations: 5.031 kB / 0.9605 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.6866, allocations: 200.2 kB / 0.9607 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6866, allocations: 0 / 0.9607 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.6868, allocations: 27.16 kB / 0.9608 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6868, allocations: 0.7188 kB / 0.9608 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6868, allocations: 1.438 kB / 0.9608 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6868, allocations: 0 / 0.9608 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6868, allocations: 0.75 kB / 0.9608 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.6872, allocations: 207.7 kB / 0.961 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.6873, allocations: 83.14 kB / 0.961 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.6873, allocations: 13.98 kB / 0.9611 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.6874, allocations: 24.16 kB / 0.9611 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.6875, allocations: 9.984 kB / 0.9611 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.6875, allocations: 5.375 kB / 0.9611 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.6876, allocations: 107.4 kB / 0.9612 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6876, allocations: 0 / 0.9612 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002548/0.6878, allocations: 37.31 kB / 0.9612 GB, free: 2.691 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.000139/0.688, allocations: 123.1 kB / 0.9613 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.6885, allocations: 199.4 kB / 0.9615 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6885, allocations: 4 kB / 0.9615 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.6887, allocations: 69.7 kB / 0.9616 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.6889, allocations: 14.3 kB / 0.9616 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.6894, allocations: 263.6 kB / 0.9619 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.6895, allocations: 0.699 MB / 0.9626 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.877e-05/0.6896, allocations: 16.11 kB / 0.9626 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.6896, allocations: 14.28 kB / 0.9626 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.6896, allocations: 1.25 kB / 0.9626 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of Templates: time 0.003648/0.6933, allocations: 1.266 MB / 0.9638 GB, free: 0.8516 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