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.001483/0.001483, allocations: 104.1 kB / 16.27 MB, free: 5.98 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.001757/0.001757, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 65.02 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3648, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003004/0.3679, allocations: 1.556 MB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.369, allocations: 0.5766 MB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.369, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.3692, allocations: 11.88 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.3692, allocations: 11.86 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.3697, allocations: 91.77 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.3698, allocations: 95.64 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3699, allocations: 28.16 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3701, allocations: 43.84 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.375e-05/0.3702, allocations: 43.77 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.3702, allocations: 8 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3703, allocations: 67.88 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.3704, allocations: 19.92 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.3705, allocations: 39.8 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.3707, allocations: 143.8 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3708, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3708, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3708, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 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.0008153/0.3716, allocations: 456.8 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3716, allocations: 8.031 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.3717, allocations: 16.75 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.3719, allocations: 188.2 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3719, allocations: 8.312 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3719, allocations: 4.375 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.3723, allocations: 113.9 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3723, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3723, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.3723, allocations: 4 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.3727, allocations: 91.91 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.3734, allocations: 356.6 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.3737, allocations: 90.5 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.3739, allocations: 60.88 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3739, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003578/0.3743, allocations: 115.3 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.913e-06/0.3743, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0006553/0.375, allocations: 201.7 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.375, allocations: 55.41 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3751, allocations: 139.3 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.3752, allocations: 33.69 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.3753, allocations: 104 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.3753, allocations: 23.72 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.701e-05/0.3754, allocations: 29.69 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3755, allocations: 326.8 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.3757, allocations: 55.95 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3759, allocations: 59.95 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.3763, allocations: 142.5 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3763, allocations: 0 / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004511/0.3767, allocations: 203.2 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.3768, allocations: 41.69 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3768, allocations: 4 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3768, allocations: 0 / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.377, allocations: 19.98 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.377, allocations: 0 / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.3771, allocations: 23.91 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.3771, allocations: 0 / 1.07 GB, free: 9.113 MB / 0.8419 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.0001241/0.3773, allocations: 131.7 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.3773, allocations: 7.906 kB / 1.07 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.3773, allocations: 20.7 kB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.3774, allocations: 0 / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3774, allocations: 4 kB / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3774, allocations: 0 / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.3776, allocations: 197.5 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3776, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.3777, allocations: 15.98 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3777, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.3778, allocations: 15.97 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3778, allocations: 0 / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3778, allocations: 4 kB / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.3782, allocations: 181 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.3783, allocations: 88.95 kB / 1.07 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.3783, allocations: 0 / 1.07 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.3785, allocations: 15.98 kB / 1.07 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.3786, allocations: 15.97 kB / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.3786, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.924e-05/0.3786, allocations: 113.3 kB / 1.07 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3787, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002411/0.3789, allocations: 35.94 kB / 1.071 GB, free: 8.188 MB / 0.8419 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.000177/0.3791, allocations: 115.8 kB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004828/0.3796, allocations: 195.2 kB / 1.071 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3796, allocations: 4 kB / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.3798, allocations: 63.88 kB / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.38, allocations: 8 kB / 1.071 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.3806, allocations: 261.4 kB / 1.071 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.3808, allocations: 0.7077 MB / 1.072 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.3809, allocations: 15.44 kB / 1.072 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.3809, allocations: 0 / 1.072 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.003169/0.3841, allocations: 1.51 MB / 1.073 GB, free: 5.242 MB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches