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.001758/0.001758, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.002214/0.002214, allocations: 219.5 kB / 22.26 MB, free: 5.219 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.377/1.377, allocations: 230.6 MB / 256 MB, free: 8.023 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.051/3.051, allocations: 0.49 GB / 0.7951 GB, free: 33.45 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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [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.00292/0.00292, allocations: 71.03 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3896, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003451/0.3931, allocations: 1.588 MB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3944, allocations: 0.6623 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/0.3945, allocations: 3.938 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.3946, allocations: 11.86 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.796e-05/0.3947, allocations: 11.88 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.3952, allocations: 111.7 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.3954, allocations: 99.64 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3955, allocations: 12.5 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.3957, allocations: 59.77 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3958, allocations: 47.83 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.3958, allocations: 4 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.396, allocations: 99.84 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.3961, allocations: 23.91 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.3961, allocations: 39.73 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.3964, allocations: 151.4 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3964, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3964, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3964, allocations: 0 / 1.329 GB, free: 15.03 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.0008838/0.3973, allocations: 383.5 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.3974, allocations: 16.02 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.103e-05/0.3974, allocations: 38.73 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.3977, allocations: 36.81 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.398, allocations: 134.4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.398, allocations: 8.375 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3981, allocations: 8.359 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.3984, allocations: 101.7 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3984, allocations: 4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.3984, allocations: 7.984 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.3984, allocations: 4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.3988, allocations: 91.8 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006984/0.3995, allocations: 319.8 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.3998, allocations: 86.52 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.4, allocations: 60.88 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.4, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003018/0.4003, allocations: 115.3 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.4003, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006786/0.401, allocations: 209.4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.401, allocations: 59.41 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4012, allocations: 144.4 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.4012, allocations: 29.7 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.4013, allocations: 104 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.4013, allocations: 27.91 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.4014, allocations: 29.7 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4015, allocations: 318.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.4017, allocations: 55.95 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.4019, allocations: 59.95 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.4023, allocations: 150.5 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4023, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004842/0.4028, allocations: 203.2 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/0.4028, allocations: 37.7 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.4028, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4028, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.403, allocations: 23.97 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.403, allocations: 3.938 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.4031, allocations: 19.92 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.4031, allocations: 4.469 kB / 1.331 GB, free: 11.97 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.0001176/0.4033, allocations: 122.3 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.4033, allocations: 15.91 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.4033, allocations: 16.66 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.4033, allocations: 8 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4033, allocations: 7.922 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4034, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.4036, allocations: 164.7 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4036, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.4037, allocations: 23.97 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4037, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4037, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4037, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4037, allocations: 3.938 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.4041, allocations: 180.9 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.4041, allocations: 11.91 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.4042, allocations: 7.984 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.4043, allocations: 19.92 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.4044, allocations: 15.92 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.4044, allocations: 3.984 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.865e-05/0.4045, allocations: 113.5 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4045, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002505/0.4047, allocations: 35.94 kB / 1.332 GB, free: 11.16 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.0008629/0.4056, allocations: 0.7372 MB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005032/0.4061, allocations: 187.5 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4061, allocations: 192 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.4063, allocations: 63.94 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.4065, allocations: 17.91 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.4091, allocations: 1.715 MB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.4095, allocations: 0.7 MB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.8e-05/0.4096, allocations: 7.984 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.4096, allocations: 31.42 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4096, allocations: 4 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.4407, allocations: 2.979 MB / 1.338 GB, free: 4.691 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.54, allocations: 3.984 kB / 1.338 GB, free: 4.688 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv","/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] "Error: Could not read variable sigRan.y[3] in file Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv. Warning: Get data of variable sigRan.y[3] from file Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.19205581499955]