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.0008015/0.0008015, allocations: 76.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008215/0.0008215, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.927/0.927, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.661/1.661, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.206e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001642/0.001654, allocations: 1.555 MB / 0.952 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006984/0.002352, allocations: 0.616 MB / 0.9526 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.002408, allocations: 3.938 kB / 0.9526 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.934e-05/0.002497, allocations: 3.938 kB / 0.9526 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.002539, allocations: 27.72 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.002894, allocations: 103.7 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.003014, allocations: 103.6 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.003104, allocations: 12.22 kB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.003244, allocations: 67.81 kB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.003307, allocations: 43.88 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.003324, allocations: 8 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.003429, allocations: 91.84 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.003471, allocations: 23.91 kB / 0.953 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.003508, allocations: 23.92 kB / 0.9531 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.003683, allocations: 171.5 kB / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003684, allocations: 0 / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003685, allocations: 0 / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.003689, allocations: 0 / 0.9532 GB, free: 0.6562 MB / 0.9011 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.0004992/0.004188, allocations: 393.1 kB / 0.9536 GB, free: 244 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.00422, allocations: 12.03 kB / 0.9536 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.004248, allocations: 34.73 kB / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.0044, allocations: 32.83 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.004562, allocations: 141.6 kB / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.004572, allocations: 8.375 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.004584, allocations: 4.375 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.004773, allocations: 114 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.00478, allocations: 4.188 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.00479, allocations: 4.125 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.004804, allocations: 4 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.004964, allocations: 83.91 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.005364, allocations: 311.8 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.00552, allocations: 82.52 kB / 0.9544 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.005607, allocations: 60.88 kB / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.005618, allocations: 0 / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.00579, allocations: 115.3 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.005791, allocations: 0 / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0003591/0.00615, allocations: 209.5 kB / 0.9548 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.006179, allocations: 51.41 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.006259, allocations: 143.6 kB / 0.955 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.006274, allocations: 29.7 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.00633, allocations: 104.1 kB / 0.9551 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.006347, allocations: 31.73 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.006385, allocations: 29.64 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.00646, allocations: 322.8 kB / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.006571, allocations: 93.69 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.006664, allocations: 81.94 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.006845, allocations: 146.6 kB / 0.9558 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006847, allocations: 7.938 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002435/0.00709, allocations: 228.9 kB / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.007115, allocations: 33.7 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.007121, allocations: 0 / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.007133, allocations: 3.984 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.007207, allocations: 23.97 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.007211, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.00728, allocations: 19.94 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.00729, allocations: 4 kB / 0.9561 GB, free: 13.51 MB / 0.9167 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 6.263e-05/0.007353, allocations: 125.8 kB / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-06/0.007363, allocations: 7.953 kB / 0.9562 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.007385, allocations: 12.78 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.007394, allocations: 7.984 kB / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.007397, allocations: 0 / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.0074, allocations: 7.938 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.007505, allocations: 160.7 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007506, allocations: 0 / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.007553, allocations: 23.91 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007554, allocations: 0 / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.007562, allocations: 0 / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007563, allocations: 0 / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.007564, allocations: 4 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.007786, allocations: 188.9 kB / 0.9566 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.007798, allocations: 19.81 kB / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.007813, allocations: 4 kB / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.007863, allocations: 15.97 kB / 0.9566 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.007907, allocations: 15.97 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.007914, allocations: 4 kB / 0.9566 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.007958, allocations: 110 kB / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007958, allocations: 0 / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001575/0.008116, allocations: 39.98 kB / 0.9568 GB, free: 12.71 MB / 0.9167 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.0004992/0.008615, allocations: 0.7373 MB / 0.9575 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.008873, allocations: 201 kB / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008874, allocations: 0 / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.008971, allocations: 71.88 kB / 0.9578 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.009116, allocations: 15.92 kB / 0.9578 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.01054, allocations: 1.839 MB / 0.9596 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.537e-05/0.01059, allocations: 85.44 kB / 0.9597 GB, free: 9.582 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.154e-05/0.01065, allocations: 15.98 kB / 0.9597 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.0107, allocations: 28.48 kB / 0.9597 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of SimCode: time 1.132e-06/0.0107, allocations: 0 / 0.9597 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.0253, allocations: 3.532 MB / 0.9631 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/6.696, allocations: 14.8 kB / 0.9632 GB, free: 6.145 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.739841504953802]