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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 223 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7714 GB, free: 4.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 66.17 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3381, allocations: 170 MB / 1.285 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002816/0.3409, allocations: 1.589 MB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3421, allocations: 0.6562 MB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.3422, allocations: 0 / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.3423, allocations: 7.875 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.3424, allocations: 27.78 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.3428, allocations: 111.6 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.343, allocations: 87.77 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3431, allocations: 16.17 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.3432, allocations: 59.77 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.981e-05/0.3433, allocations: 43.83 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3433, allocations: 8 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.3435, allocations: 111.8 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.3436, allocations: 19.92 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.3436, allocations: 47.67 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.3439, allocations: 155.4 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3439, allocations: 0 / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3439, allocations: 0 / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3439, allocations: 0 / 1.287 GB, free: 8.391 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.0008022/0.3447, allocations: 379.5 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3447, allocations: 8.031 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.345, allocations: 36.86 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3453, allocations: 142.3 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3453, allocations: 384 / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3453, allocations: 4.375 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3456, allocations: 113.9 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3456, allocations: 0 / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3456, allocations: 0 / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.3457, allocations: 8 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.346, allocations: 83.92 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.3467, allocations: 323.8 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.347, allocations: 90.45 kB / 1.289 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.3471, allocations: 52.88 kB / 1.289 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3472, allocations: 4 kB / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.3474, allocations: 115.3 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.3474, allocations: 0 / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006508/0.3481, allocations: 205.4 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.3481, allocations: 55.41 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3483, allocations: 152.1 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3483, allocations: 33.7 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.3484, allocations: 104.1 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.3484, allocations: 24.12 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.3485, allocations: 29.7 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3486, allocations: 322.8 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.3488, allocations: 59.83 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.349, allocations: 59.95 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.3493, allocations: 150.6 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3493, allocations: 0 / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004663/0.3498, allocations: 203.1 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.3498, allocations: 33.7 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3498, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3499, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.35, allocations: 19.97 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.35, allocations: 4 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.3501, allocations: 23.86 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3502, allocations: 4 kB / 1.29 GB, free: 5.395 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.000107/0.3503, allocations: 121.8 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3503, allocations: 15.91 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.3503, allocations: 12.7 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.3503, allocations: 11.98 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3503, allocations: 0 / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3504, allocations: 3.938 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.3505, allocations: 168.7 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3505, allocations: 0 / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.3506, allocations: 19.97 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3506, allocations: 3.938 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3507, allocations: 4 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3507, allocations: 0 / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3507, allocations: 7.938 kB / 1.291 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.3511, allocations: 180.9 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.3511, allocations: 11.89 kB / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3511, allocations: 8 kB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3512, allocations: 11.98 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.3513, allocations: 23.84 kB / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3513, allocations: 4.188 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.667e-05/0.3514, allocations: 106.3 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3514, allocations: 3.938 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002624/0.3517, allocations: 43.92 kB / 1.291 GB, free: 4.574 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.0001774/0.3518, allocations: 119.2 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.3523, allocations: 183.2 kB / 1.291 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3523, allocations: 0 / 1.291 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.3525, allocations: 55.95 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.3527, allocations: 15.98 kB / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.3533, allocations: 250.1 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.3537, allocations: 0.7002 MB / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.3537, allocations: 19.42 kB / 1.292 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3537, allocations: 3.938 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.003609/0.3573, allocations: 1.541 MB / 1.294 GB, free: 1.625 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.59358620402054]