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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001121/0.001121, allocations: 119.8 kB / 16.37 MB, free: 6.016 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.001118/0.001118, allocations: 193 kB / 17.31 MB, free: 5.613 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.494/2.494, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 60.94 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3733, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003236/0.3766, allocations: 1.56 MB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3777, allocations: 0.5803 MB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.3778, allocations: 0 / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.3779, allocations: 7.875 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.378, allocations: 23.78 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.3784, allocations: 91.77 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.3786, allocations: 99.64 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3787, allocations: 20.22 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.3789, allocations: 43.83 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.379, allocations: 51.77 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.379, allocations: 8 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.3792, allocations: 87.91 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.3792, allocations: 23.91 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.3793, allocations: 39.73 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.3795, allocations: 135.5 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3795, allocations: 4 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3796, allocations: 3.938 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3796, allocations: 3.938 kB / 1.029 GB, free: 15.27 MB / 0.8106 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.000875/0.3804, allocations: 456.8 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3805, allocations: 8.031 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.3806, allocations: 12.75 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3808, allocations: 200.2 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3808, allocations: 384 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3808, allocations: 4.375 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.3811, allocations: 105.9 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3812, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3812, allocations: 4 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.3812, allocations: 11.98 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.3815, allocations: 87.91 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.3822, allocations: 348.6 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.3825, allocations: 90.52 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.3827, allocations: 60.88 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.3827, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.3831, allocations: 123.3 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.3831, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006107/0.3837, allocations: 201.5 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3838, allocations: 51.52 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3839, allocations: 151.4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3839, allocations: 29.7 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.384, allocations: 100 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.384, allocations: 27.64 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.3841, allocations: 21.72 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3842, allocations: 326.8 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.3844, allocations: 55.95 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.3846, allocations: 60.23 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.3849, allocations: 146.6 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3849, allocations: 7.938 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004322/0.3854, allocations: 203 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.3854, allocations: 33.7 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3854, allocations: 0 / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3855, allocations: 7.984 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.3856, allocations: 15.98 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/0.3856, allocations: 0 / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.3858, allocations: 19.86 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.3858, allocations: 7.984 kB / 1.032 GB, free: 12.1 MB / 0.8106 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.0001056/0.3859, allocations: 125.8 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.3859, allocations: 11.91 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.386, allocations: 8.719 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.386, allocations: 7.984 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.386, allocations: 0 / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.386, allocations: 0 / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.3862, allocations: 201.4 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3862, allocations: 3.984 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3863, allocations: 15.98 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3863, allocations: 4 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.3864, allocations: 4 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3864, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3864, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.3868, allocations: 192.8 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.3868, allocations: 89 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.3869, allocations: 4 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.387, allocations: 11.98 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.3871, allocations: 11.98 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3871, allocations: 7.984 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.013e-05/0.3872, allocations: 109.5 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3872, allocations: 0 / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000264/0.3874, allocations: 39.94 kB / 1.033 GB, free: 11.17 MB / 0.8106 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.0001751/0.3876, allocations: 115.2 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.3881, allocations: 183.3 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3881, allocations: 0 / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.3883, allocations: 63.95 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.3885, allocations: 15.98 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.3891, allocations: 231.7 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.3894, allocations: 0.7002 MB / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.784e-05/0.3895, allocations: 19.97 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.3895, allocations: 15.42 kB / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of SimCode: time 1.954e-06/0.3895, allocations: 0 / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of Templates: time 0.004045/0.3936, allocations: 1.4 MB / 1.036 GB, free: 8.375 MB / 0.8106 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 -s cvode -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