Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001497/0.001497, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.00152/0.00152, allocations: 217.4 kB / 23.04 MB, free: 4.844 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.127/3.127, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001978/0.001978, allocations: 72.34 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3142, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002938/0.3171, allocations: 1.552 MB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3184, allocations: 0.6116 MB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.3185, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.884e-05/0.3185, allocations: 11.88 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.3186, allocations: 19.78 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.319, allocations: 107.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3192, allocations: 95.64 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3193, allocations: 12.23 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.3195, allocations: 63.75 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.3196, allocations: 35.84 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.3196, allocations: 8 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.3197, allocations: 91.84 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.3198, allocations: 23.91 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.342e-05/0.3199, allocations: 39.78 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.3201, allocations: 143.4 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3201, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3201, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3201, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 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.0007994/0.3209, allocations: 395.4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3209, allocations: 11.97 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.3212, allocations: 28.88 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.3214, allocations: 138.4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3214, allocations: 384 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.3215, allocations: 8.375 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.3218, allocations: 113.9 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3218, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3218, allocations: 4 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.3218, allocations: 7.984 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.3222, allocations: 83.86 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.3228, allocations: 284.4 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.3231, allocations: 94.44 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.3233, allocations: 52.88 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.3233, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.3236, allocations: 119.3 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3236, allocations: 0 / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006738/0.3243, allocations: 213.4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.3243, allocations: 51.41 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.3244, allocations: 144.3 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3245, allocations: 25.7 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.3246, allocations: 108 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.3246, allocations: 23.92 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.3246, allocations: 29.7 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3248, allocations: 326.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.325, allocations: 85.64 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3252, allocations: 85.66 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.3256, allocations: 146.4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3256, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005248/0.3261, allocations: 237 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.3262, allocations: 31.11 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.3262, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3262, allocations: 4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3263, allocations: 31.91 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3263, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.3264, allocations: 19.92 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.3265, allocations: 3.938 kB / 1.333 GB, free: 11.09 MB / 1.029 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.0001052/0.3266, allocations: 122.4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.3266, allocations: 11.91 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.3266, allocations: 16.72 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.3266, allocations: 3.984 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3267, allocations: 4.469 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3267, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.3268, allocations: 129.2 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3268, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.3269, allocations: 15.98 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3269, allocations: 7.922 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3269, allocations: 3.984 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3269, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3269, allocations: 3.984 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.3274, allocations: 188.9 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.3274, allocations: 15.91 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.3274, allocations: 0 / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3276, allocations: 15.97 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.3276, allocations: 15.92 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.3276, allocations: 4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.019e-05/0.3277, allocations: 113.1 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3277, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002506/0.328, allocations: 43.94 kB / 1.333 GB, free: 10.32 MB / 1.029 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.0001684/0.3281, allocations: 119.1 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.3286, allocations: 201 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3286, allocations: 4 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.3289, allocations: 63.86 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.3291, allocations: 17.03 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.3297, allocations: 250.1 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.861e-05/0.3297, allocations: 85.31 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.3298, allocations: 15.44 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3298, allocations: 0 / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of Templates: time 0.003495/0.3333, allocations: 1.576 MB / 1.336 GB, free: 7.926 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.421035227132961]