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.001769/0.001769, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002331/0.002331, allocations: 215.1 kB / 22.26 MB, free: 5.082 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.391/1.391, allocations: 230.6 MB / 256 MB, free: 8.02 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.703/2.703, allocations: 476.7 MB / 0.7707 GB, free: 4.242 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.002161/0.002161, allocations: 65.83 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3235, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00308/0.3266, allocations: 1.593 MB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3279, allocations: 0.6484 MB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/0.3279, allocations: 0 / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.3281, allocations: 19.86 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.3281, allocations: 19.8 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.3286, allocations: 107.7 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3288, allocations: 95.64 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3289, allocations: 16.22 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.3291, allocations: 55.83 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3292, allocations: 51.77 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.3293, allocations: 4 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.3294, allocations: 99.91 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.3295, allocations: 23.91 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.633e-05/0.3296, allocations: 39.73 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.3298, allocations: 154.9 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3298, allocations: 0 / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3298, allocations: 0 / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.3298, allocations: 0 / 1.286 GB, free: 8.762 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.0008269/0.3307, allocations: 387.5 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3307, allocations: 12.03 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.3308, allocations: 38.73 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.331, allocations: 36.81 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.3313, allocations: 138.3 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3313, allocations: 8.312 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.3314, allocations: 8.375 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.3317, allocations: 105.7 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3317, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3317, allocations: 8 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.3317, allocations: 7.984 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.332, allocations: 79.92 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.3327, allocations: 323.7 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.3331, allocations: 90.5 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.3332, allocations: 52.88 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3332, allocations: 3.984 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.3336, allocations: 119.3 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.3336, allocations: 0 / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006579/0.3342, allocations: 205.5 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.3343, allocations: 63.34 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3344, allocations: 145.7 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3344, allocations: 25.7 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.3345, allocations: 108 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3345, allocations: 27.91 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.3346, allocations: 25.7 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3347, allocations: 322.8 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.3349, allocations: 59.95 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.3351, allocations: 55.95 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.3355, allocations: 146.9 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3355, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004877/0.336, allocations: 203.1 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.336, allocations: 33.8 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.336, allocations: 3.938 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.336, allocations: 0 / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.3362, allocations: 19.98 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.3362, allocations: 7.922 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.3364, allocations: 23.92 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3364, allocations: 0 / 1.289 GB, free: 5.703 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.0001158/0.3365, allocations: 121.9 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3365, allocations: 7.953 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.3365, allocations: 16.72 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.3366, allocations: 7.938 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3366, allocations: 3.938 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3366, allocations: 3.984 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.3369, allocations: 168.6 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3369, allocations: 4 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.337, allocations: 15.97 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.337, allocations: 4 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.337, allocations: 4 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.337, allocations: 0 / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.337, allocations: 7.938 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.3374, allocations: 184.9 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.3374, allocations: 7.953 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3375, allocations: 0 / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.3376, allocations: 23.97 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.3376, allocations: 11.92 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3377, allocations: 3.984 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.021e-05/0.3378, allocations: 110.6 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3378, allocations: 4 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002625/0.338, allocations: 43.89 kB / 1.29 GB, free: 4.891 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.0008339/0.3388, allocations: 0.7372 MB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.3393, allocations: 183.2 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3393, allocations: 0 / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.3395, allocations: 55.95 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.3398, allocations: 18.38 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.3423, allocations: 1.719 MB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.3426, allocations: 0.7002 MB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.782e-05/0.3427, allocations: 11.98 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.3428, allocations: 27.42 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3428, allocations: 0 / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.3737, allocations: 2.986 MB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.09, allocations: 4.484 kB / 1.296 GB, free: 14.43 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: 17.507611206000547]