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.001716/0.001716, allocations: 110.2 kB / 19.69 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.002146/0.002146, allocations: 213.1 kB / 23.01 MB, free: 4.566 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.268/3.268, allocations: 0.49 GB / 0.7958 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.002007/0.002007, allocations: 68.09 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002869/0.3258, allocations: 1.594 MB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3269, allocations: 0.6544 MB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.327, allocations: 0 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.3271, allocations: 11.88 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.673e-05/0.3272, allocations: 23.78 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.3276, allocations: 103.7 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3278, allocations: 99.62 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3279, allocations: 16.22 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3281, allocations: 51.84 kB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.3282, allocations: 51.81 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.3282, allocations: 7.938 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.3284, allocations: 99.89 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.3284, allocations: 19.92 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.3285, allocations: 43.67 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3287, allocations: 159.3 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3287, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3287, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3288, allocations: 0 / 1.33 GB, free: 14.54 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.0007881/0.3295, allocations: 383.5 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3296, allocations: 12.03 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.3299, allocations: 28.86 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.3301, allocations: 138.4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3301, allocations: 8.375 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.3301, allocations: 8.344 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.3305, allocations: 117.8 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3305, allocations: 0 / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3305, allocations: 3.984 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.3305, allocations: 4 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.3308, allocations: 83.92 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007003/0.3315, allocations: 327.7 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.3318, allocations: 82.52 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.332, allocations: 56.88 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.332, allocations: 4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.3323, allocations: 107.3 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.3323, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006679/0.333, allocations: 221.5 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.333, allocations: 51.41 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3332, allocations: 147.4 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3332, allocations: 29.7 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.3333, allocations: 100 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.3333, allocations: 28.06 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.3333, allocations: 25.7 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3335, allocations: 326.8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.3337, allocations: 59.89 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.3338, allocations: 55.95 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.3342, allocations: 142.6 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3342, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004926/0.3347, allocations: 215.1 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.3347, allocations: 29.7 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3348, allocations: 80 / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3348, allocations: 0 / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.3349, allocations: 23.97 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3349, allocations: 7.984 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.3351, allocations: 19.86 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.3351, allocations: 4 kB / 1.333 GB, free: 11.54 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.0001131/0.3352, allocations: 126.3 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.3352, allocations: 15.91 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.3353, allocations: 8.719 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.3353, allocations: 4 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3353, allocations: 3.984 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3353, allocations: 7.938 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.3354, allocations: 164.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3355, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.3356, allocations: 23.91 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3356, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3356, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3356, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3356, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.336, allocations: 184.9 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.336, allocations: 15.91 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3361, allocations: 7.984 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3362, allocations: 11.98 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.3362, allocations: 19.91 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3363, allocations: 12.11 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.979e-05/0.3363, allocations: 109 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3363, allocations: 3.938 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002466/0.3366, allocations: 39.92 kB / 1.333 GB, free: 10.71 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.0001713/0.3368, allocations: 119.2 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004776/0.3372, allocations: 183.2 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3372, allocations: 4 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.3374, allocations: 59.95 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.3376, allocations: 7.891 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006446/0.3383, allocations: 266 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3387, allocations: 0.7002 MB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.3387, allocations: 15.44 kB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3387, allocations: 0 / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of Templates: time 0.003683/0.3424, allocations: 1.543 MB / 1.336 GB, free: 7.762 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.607779382000444]