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.001827/0.001827, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002624/0.002624, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.801 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.359/3.359, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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: "" <> 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.00206/0.00206, allocations: 64 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002989/0.3397, allocations: 1.551 MB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.341, allocations: 0.6116 MB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.3411, allocations: 0 / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.3412, allocations: 11.86 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.3413, allocations: 15.81 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.3418, allocations: 111.8 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.342, allocations: 99.67 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3421, allocations: 12.45 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.3423, allocations: 51.83 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.3424, allocations: 47.77 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.3424, allocations: 8 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.3425, allocations: 91.84 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.3426, allocations: 19.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.3427, allocations: 35.78 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.3429, allocations: 155.4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3429, allocations: 3.938 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3429, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3429, allocations: 0 / 1.328 GB, free: 15.56 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.0007622/0.3437, allocations: 383.5 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3437, allocations: 8.031 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.3438, allocations: 42.73 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002741/0.344, allocations: 36.83 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3443, allocations: 143.4 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3443, allocations: 4.375 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.3443, allocations: 384 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.3446, allocations: 109.7 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3446, allocations: 0 / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3446, allocations: 0 / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.3447, allocations: 4 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.345, allocations: 99.84 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.3456, allocations: 303.8 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.3459, allocations: 82.52 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.3461, allocations: 60.95 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3461, allocations: 3.938 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000301/0.3464, allocations: 111.3 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.3464, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006631/0.3471, allocations: 213.4 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3471, allocations: 51.41 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.3473, allocations: 149.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.3473, allocations: 29.69 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.3474, allocations: 104 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.3474, allocations: 19.84 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.3475, allocations: 29.98 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3476, allocations: 322.8 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.3478, allocations: 85.66 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.348, allocations: 89.59 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.3484, allocations: 146.4 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3484, allocations: 4 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004837/0.3489, allocations: 233 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.3489, allocations: 33.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3489, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3489, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.3491, allocations: 23.97 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3491, allocations: 3.938 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.3492, allocations: 27.84 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3492, allocations: 3.984 kB / 1.331 GB, free: 12.42 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.0001096/0.3493, allocations: 122.4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.3494, allocations: 11.91 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.3494, allocations: 20.7 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.3494, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3494, allocations: 3.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3494, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.3496, allocations: 156.7 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3496, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3497, allocations: 15.98 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3497, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3497, allocations: 4 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3497, allocations: 7.984 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3497, allocations: 3.938 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.3502, allocations: 184.9 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.3502, allocations: 11.91 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3502, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3503, allocations: 11.98 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.3504, allocations: 23.91 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3504, allocations: 4 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.097e-05/0.3505, allocations: 107.4 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3505, allocations: 0 / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002478/0.3507, allocations: 39.88 kB / 1.331 GB, free: 11.62 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.0008601/0.3516, allocations: 0.7255 MB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.3521, allocations: 224.9 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3521, allocations: 0 / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.3523, allocations: 59.95 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.3525, allocations: 23.44 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.3551, allocations: 1.827 MB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.875e-05/0.3551, allocations: 89.19 kB / 1.334 GB, free: 8.496 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.244e-05/0.3552, allocations: 11.98 kB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.3553, allocations: 31.42 kB / 1.334 GB, free: 8.453 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3553, allocations: 0 / 1.334 GB, free: 8.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.3851, allocations: 3.393 MB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.24, allocations: 2.344 kB / 1.338 GB, free: 5.203 MB / 1.029 GB " [Timeout remaining time 289] (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.301424553152174]