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.001742/0.001742, allocations: 99.64 kB / 18.95 MB, free: 2.668 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: 210.5 kB / 22.24 MB, free: 5.262 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.593/1.593, allocations: 230.6 MB / 256 MB, free: 7.789 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.769/2.769, allocations: 476 MB / 0.7699 GB, free: 4.75 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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_11_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.002288/0.002288, allocations: 68.78 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3415, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00338/0.3449, allocations: 1.553 MB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3462, allocations: 0.6056 MB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.3463, allocations: 4 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.3465, allocations: 11.86 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.3465, allocations: 15.81 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.3471, allocations: 103.7 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.3473, allocations: 99.69 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3474, allocations: 20.16 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.3476, allocations: 55.78 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3477, allocations: 47.81 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.3478, allocations: 8 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.348, allocations: 91.84 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.348, allocations: 23.92 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.3481, allocations: 31.8 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.3484, allocations: 157.1 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3484, allocations: 0 / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3484, allocations: 0 / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.3484, allocations: 0 / 1.285 GB, free: 9.656 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.0009387/0.3494, allocations: 383.5 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.3494, allocations: 12.03 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.3495, allocations: 34.73 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.3498, allocations: 28.88 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.3501, allocations: 160.3 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3501, allocations: 384 / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.3501, allocations: 4.375 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.3505, allocations: 113.7 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3505, allocations: 4 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.3505, allocations: 0 / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.3506, allocations: 4 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000334/0.3509, allocations: 87.91 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.3517, allocations: 303.8 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.352, allocations: 90.52 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.3522, allocations: 52.88 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.3522, allocations: 0 / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.3525, allocations: 115.4 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 4.98e-06/0.3525, allocations: 4 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007018/0.3532, allocations: 209.7 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.3533, allocations: 55.41 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.3534, allocations: 153 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.3535, allocations: 29.7 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.3535, allocations: 104 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3536, allocations: 23.84 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.3536, allocations: 29.7 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3538, allocations: 330.8 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.354, allocations: 81.66 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.3542, allocations: 85.66 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.3546, allocations: 146.5 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3546, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005083/0.3551, allocations: 236.8 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.3551, allocations: 29.7 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3551, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.3552, allocations: 4 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3553, allocations: 19.97 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3553, allocations: 7.938 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.3555, allocations: 19.92 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3555, allocations: 7.984 kB / 1.288 GB, free: 6.512 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.0001229/0.3556, allocations: 117.8 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.3556, allocations: 7.953 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.3557, allocations: 8.719 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.3557, allocations: 11.98 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3557, allocations: 3.938 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3557, allocations: 4 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.3559, allocations: 156.7 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3559, allocations: 0 / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.356, allocations: 23.92 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.356, allocations: 0 / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.356, allocations: 4 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.356, allocations: 0 / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.356, allocations: 11.86 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.3565, allocations: 185.2 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.3565, allocations: 11.89 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.3565, allocations: 0 / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3566, allocations: 23.92 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.3567, allocations: 15.91 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3567, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.484e-05/0.3568, allocations: 111.2 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3568, allocations: 0 / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002628/0.3571, allocations: 43.89 kB / 1.289 GB, free: 5.711 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.0008722/0.3579, allocations: 0.7294 MB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005413/0.3585, allocations: 205 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3585, allocations: 0 / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.3587, allocations: 67.88 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3589, allocations: 20.02 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.3616, allocations: 1.832 MB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.988e-05/0.3617, allocations: 81.33 kB / 1.292 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.978e-05/0.3618, allocations: 11.98 kB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.3619, allocations: 31.42 kB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3619, allocations: 3.938 kB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.394, allocations: 3.398 MB / 1.295 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.41, allocations: 2.469 kB / 1.295 GB, free: 15.31 MB / 0.9981 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv","/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] "Error: Could not read variable sigRan.y[3] in file Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv. Warning: Get data of variable sigRan.y[3] from file Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.361967036966234]