Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0016/0.0016, 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.00224/0.00224, allocations: 211.7 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.483/1.483, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.458/3.458, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_latest_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.00198/0.00198, allocations: 66.3 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3832, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003018/0.3862, allocations: 1.556 MB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3874, allocations: 0.6088 MB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.3875, allocations: 4 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.3876, allocations: 11.86 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.3877, allocations: 11.81 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.3882, allocations: 107.7 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3884, allocations: 103.6 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3885, allocations: 16.5 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.3887, allocations: 51.84 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.3888, allocations: 43.81 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3888, allocations: 8 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.389, allocations: 91.84 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.3891, allocations: 19.92 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.3891, allocations: 43.78 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.3894, allocations: 151.4 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3894, allocations: 4 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3894, allocations: 0 / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3894, allocations: 0 / 1.366 GB, free: 11.2 MB / 1.061 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.0008114/0.3902, allocations: 383.5 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3903, allocations: 8.031 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.3903, allocations: 34.75 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.3906, allocations: 36.8 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.3909, allocations: 146.3 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3909, allocations: 4.375 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.3909, allocations: 4.375 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.3912, allocations: 113.7 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3912, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3912, allocations: 4 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.3913, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.3916, allocations: 91.91 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000676/0.3922, allocations: 303.8 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.3926, allocations: 90.5 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3927, allocations: 52.88 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3927, allocations: 0 / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000301/0.393, allocations: 119.4 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.3931, allocations: 0 / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006875/0.3937, allocations: 205.4 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3938, allocations: 55.41 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3939, allocations: 137.8 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.394, allocations: 33.7 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.394, allocations: 108 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.3941, allocations: 27.8 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.3941, allocations: 29.64 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3943, allocations: 322.8 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.3945, allocations: 85.64 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.3947, allocations: 85.66 kB / 1.368 GB, free: 8.566 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.3951, allocations: 150.9 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3951, allocations: 0 / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005197/0.3956, allocations: 232.9 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.3956, allocations: 29.8 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3956, allocations: 3.938 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3957, allocations: 0 / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3958, allocations: 23.97 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.3958, allocations: 7.938 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.396, allocations: 23.88 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.396, allocations: 4 kB / 1.369 GB, free: 8.066 MB / 1.061 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.0001186/0.3961, allocations: 121.8 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.3961, allocations: 7.953 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.3962, allocations: 8.719 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.3962, allocations: 11.98 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3962, allocations: 3.938 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3962, allocations: 7.984 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.3964, allocations: 148.7 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3964, allocations: 0 / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.3965, allocations: 27.91 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3965, allocations: 0 / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3965, allocations: 0 / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3965, allocations: 4 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.3965, allocations: 3.938 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.397, allocations: 188.9 kB / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.397, allocations: 11.94 kB / 1.369 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3971, allocations: 3.938 kB / 1.369 GB, free: 7.449 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3972, allocations: 15.98 kB / 1.369 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.3972, allocations: 19.91 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.3973, allocations: 0 / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.906e-05/0.3973, allocations: 109.5 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3973, allocations: 0 / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002648/0.3976, allocations: 39.92 kB / 1.37 GB, free: 7.27 MB / 1.061 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.0008534/0.3985, allocations: 0.7371 MB / 1.37 GB, free: 6.504 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004967/0.399, allocations: 209 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.399, allocations: 0 / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.3992, allocations: 63.89 kB / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.3994, allocations: 15.92 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.402, allocations: 1.823 MB / 1.372 GB, free: 4.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.156e-05/0.4021, allocations: 89.17 kB / 1.373 GB, free: 4.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.031e-05/0.4022, allocations: 15.98 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.4023, allocations: 27.42 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.4023, allocations: 0 / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.433, allocations: 3.401 MB / 1.376 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.34, allocations: 8.281 kB / 1.376 GB, free: 0.8555 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv. Warning: Get data of variable sigRan.y[3] from file Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.5382808027789]