Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00536/0.00536, allocations: 99.22 kB / 15.73 MB, free: 6.008 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.00133/0.00133, allocations: 198.2 kB / 16.68 MB, free: 5.934 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.862/2.862, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3759, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002815/0.3787, allocations: 1.561 MB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3797, allocations: 0.5765 MB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.105e-05/0.3798, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.3799, allocations: 7.875 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.38, allocations: 31.78 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.3804, allocations: 91.77 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.3806, allocations: 91.64 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3807, allocations: 20.2 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3808, allocations: 39.91 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.777e-05/0.3809, allocations: 47.77 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.3809, allocations: 11.94 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.3811, allocations: 95.89 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.3812, allocations: 19.92 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.3812, allocations: 31.8 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3814, allocations: 143.4 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3815, allocations: 4 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3815, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3815, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 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.0008375/0.3823, allocations: 462.7 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3823, allocations: 8.031 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.3824, allocations: 12.84 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3826, allocations: 192.2 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3826, allocations: 8.312 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.3826, allocations: 4.375 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3829, allocations: 109.8 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3829, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.383, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.383, allocations: 11.98 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.3833, allocations: 83.92 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.384, allocations: 352.6 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.3844, allocations: 90.52 kB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.3845, allocations: 52.88 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3845, allocations: 3.984 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003331/0.3849, allocations: 115.3 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.3849, allocations: 0 / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007336/0.3856, allocations: 209.4 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.3857, allocations: 55.41 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3858, allocations: 139.5 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.3858, allocations: 25.7 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.3859, allocations: 108 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.3859, allocations: 35.8 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.386, allocations: 21.72 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3861, allocations: 326.8 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.3863, allocations: 55.95 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.3864, allocations: 59.95 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.3868, allocations: 142.6 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3868, allocations: 3.938 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004451/0.3872, allocations: 199.2 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.3873, allocations: 33.7 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3873, allocations: 4.469 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3873, allocations: 3.984 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.3874, allocations: 15.98 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3874, allocations: 0 / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.3876, allocations: 11.98 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.3876, allocations: 15.92 kB / 1.226 GB, free: 7.906 MB / 0.9825 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.000114/0.3877, allocations: 130.2 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.3877, allocations: 15.91 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.3878, allocations: 8.719 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.3878, allocations: 7.984 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3878, allocations: 0 / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3878, allocations: 0 / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.388, allocations: 197.5 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.388, allocations: 7.922 kB / 1.226 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.3881, allocations: 15.98 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3881, allocations: 4 kB / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3881, allocations: 0 / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3881, allocations: 4 kB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3881, allocations: 0 / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.3886, allocations: 184.9 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.3886, allocations: 96.94 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.3886, allocations: 4 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.3888, allocations: 11.98 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.3888, allocations: 11.98 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3889, allocations: 7.984 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.748e-05/0.3889, allocations: 105.3 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3889, allocations: 0 / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002702/0.3892, allocations: 43.88 kB / 1.227 GB, free: 6.965 MB / 0.9825 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.0001917/0.3894, allocations: 115.2 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004966/0.3899, allocations: 183.2 kB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3899, allocations: 0 / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.3901, allocations: 55.95 kB / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.3903, allocations: 18.52 kB / 1.227 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006024/0.3909, allocations: 239.3 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3913, allocations: 0.6963 MB / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.119e-05/0.3913, allocations: 15.98 kB / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.3914, allocations: 19.42 kB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/0.3914, allocations: 0 / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.004283/0.3957, allocations: 1.43 MB / 1.23 GB, free: 4.152 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches