Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007725/0.007725, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001285/0.001285, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.997/2.997, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.89 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3592, allocations: 157.4 MB / 1.208 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003342/0.3626, allocations: 1.557 MB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.364, allocations: 0.5807 MB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.376e-05/0.3641, allocations: 0 / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.3643, allocations: 11.86 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.3644, allocations: 23.8 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.3649, allocations: 91.77 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.3651, allocations: 99.69 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.3653, allocations: 20.22 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.3655, allocations: 39.84 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3656, allocations: 51.77 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.3656, allocations: 8 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.3658, allocations: 87.84 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.3658, allocations: 19.92 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.98e-05/0.3659, allocations: 43.77 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.3662, allocations: 135.6 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3662, allocations: 4 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3662, allocations: 4 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3662, allocations: 0 / 1.21 GB, free: 6.957 MB / 0.9669 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.0008736/0.3671, allocations: 452.6 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3671, allocations: 8.625 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.3672, allocations: 8.844 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.3674, allocations: 197.2 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3675, allocations: 4.375 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.3675, allocations: 4.375 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.3678, allocations: 113.8 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3678, allocations: 0 / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.3679, allocations: 8 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.3679, allocations: 7.938 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.3682, allocations: 83.91 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/0.3689, allocations: 344.7 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.3692, allocations: 98.44 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.3694, allocations: 60.88 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3695, allocations: 0 / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/0.3698, allocations: 111.3 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.3698, allocations: 3.938 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0006386/0.3705, allocations: 209.5 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.3705, allocations: 51.41 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3706, allocations: 152.1 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3707, allocations: 25.7 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.3707, allocations: 92.14 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.3708, allocations: 31.55 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/0.3709, allocations: 29.7 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.371, allocations: 330.8 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.3712, allocations: 51.95 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3714, allocations: 55.95 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.3717, allocations: 150.4 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3717, allocations: 4 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005211/0.3723, allocations: 199.2 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.3723, allocations: 31.42 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3723, allocations: 0 / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3723, allocations: 4 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3725, allocations: 23.91 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3725, allocations: 4 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.3726, allocations: 23.83 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.3727, allocations: 4 kB / 1.213 GB, free: 3.793 MB / 0.9669 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.00014/0.3728, allocations: 125.8 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.3728, allocations: 11.91 kB / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.3729, allocations: 8.719 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.3729, allocations: 4 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3729, allocations: 4 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3729, allocations: 0 / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.3731, allocations: 201.5 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3731, allocations: 0 / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3732, allocations: 20.44 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3732, allocations: 0 / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3732, allocations: 0 / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3732, allocations: 4 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3733, allocations: 0 / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.3737, allocations: 192.8 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.3737, allocations: 81.02 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.3738, allocations: 8 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3739, allocations: 15.97 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.374, allocations: 15.92 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.374, allocations: 4 kB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.325e-05/0.3741, allocations: 114 kB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3741, allocations: 0 / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002672/0.3743, allocations: 43.92 kB / 1.214 GB, free: 2.859 MB / 0.9669 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.0002058/0.3745, allocations: 115.2 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005116/0.3751, allocations: 179.3 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3751, allocations: 4 kB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.3753, allocations: 67.89 kB / 1.214 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.3755, allocations: 12.3 kB / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.3761, allocations: 243.5 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3765, allocations: 0.7022 MB / 1.215 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.648e-05/0.3766, allocations: 11.98 kB / 1.215 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.3766, allocations: 11.44 kB / 1.215 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3766, allocations: 0 / 1.215 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of Templates: time 0.004296/0.3809, allocations: 1.416 MB / 1.217 GB, free: 40 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches