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.001436/0.001436, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001613/0.001613, allocations: 222.9 kB / 23 MB, free: 4.91 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.719/2.719, allocations: 476 MB / 0.7707 GB, free: 4.895 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.002123/0.002123, allocations: 71.44 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3279, allocations: 170 MB / 1.284 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002966/0.3309, allocations: 1.561 MB / 1.285 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3321, allocations: 0.6015 MB / 1.286 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.3322, allocations: 0 / 1.286 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.3323, allocations: 11.88 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.874e-05/0.3323, allocations: 23.8 kB / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.3328, allocations: 115.7 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.333, allocations: 99.64 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3331, allocations: 12.22 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.3332, allocations: 47.89 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.784e-05/0.3333, allocations: 43.78 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.3334, allocations: 8 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.3335, allocations: 95.84 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.3336, allocations: 23.91 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.3336, allocations: 31.84 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.3339, allocations: 151.4 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3339, allocations: 3.984 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3339, allocations: 3.938 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3339, allocations: 0 / 1.286 GB, free: 9.289 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.0008332/0.3347, allocations: 387.4 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3348, allocations: 12.03 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.3351, allocations: 28.88 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.3353, allocations: 143.7 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3353, allocations: 4.375 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.3354, allocations: 4.375 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.3357, allocations: 109.9 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3357, allocations: 0 / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3357, allocations: 4 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.3357, allocations: 11.98 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.3361, allocations: 83.92 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.3367, allocations: 276.4 kB / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.337, allocations: 94.44 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.3372, allocations: 52.88 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.3372, allocations: 8 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.3375, allocations: 107.3 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3375, allocations: 0 / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006764/0.3382, allocations: 213.4 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3383, allocations: 55.41 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3384, allocations: 145.1 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.3384, allocations: 29.64 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.3385, allocations: 108 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.3385, allocations: 23.84 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.3386, allocations: 29.77 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3388, allocations: 322.8 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.339, allocations: 97.86 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.3392, allocations: 85.59 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.3396, allocations: 146.5 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3396, allocations: 0 / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004945/0.3401, allocations: 232.8 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.3401, allocations: 37.7 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3401, allocations: 0 / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3401, allocations: 0 / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.3403, allocations: 19.97 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3403, allocations: 0 / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.3404, allocations: 23.91 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.3404, allocations: 11.88 kB / 1.289 GB, free: 6.227 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.0001216/0.3406, allocations: 125.8 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.3406, allocations: 7.953 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.3406, allocations: 12.72 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.3406, allocations: 7.984 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3406, allocations: 0 / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3406, allocations: 4 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3408, allocations: 133.2 kB / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3408, allocations: 0 / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.3409, allocations: 31.91 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3409, allocations: 0 / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3409, allocations: 0 / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.341, allocations: 4 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.341, allocations: 0 / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.3414, allocations: 180.9 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.3414, allocations: 7.953 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.3415, allocations: 4 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.3416, allocations: 19.97 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.3416, allocations: 11.92 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3417, allocations: 8 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.462e-05/0.3418, allocations: 111.2 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3418, allocations: 0 / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002588/0.342, allocations: 40.08 kB / 1.29 GB, free: 5.469 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.0001825/0.3422, allocations: 119.2 kB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.3427, allocations: 212.9 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3427, allocations: 4 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.3429, allocations: 59.94 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.3432, allocations: 13.88 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.3438, allocations: 255.6 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.5e-05/0.3439, allocations: 85.31 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.3439, allocations: 23.38 kB / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3439, allocations: 0 / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of Templates: time 0.003824/0.3477, allocations: 1.579 MB / 1.292 GB, free: 3.062 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.228619869798422]