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.001402/0.001402, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.00154/0.00154, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 9.086 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.252/3.252, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.002067/0.002067, allocations: 64.66 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3485, allocations: 180.2 MB / 1.348 GB, free: 9.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00281/0.3513, allocations: 1.579 MB / 1.349 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3524, allocations: 0.6388 MB / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.3525, allocations: 4 kB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.962e-05/0.3526, allocations: 11.86 kB / 1.35 GB, free: 7.719 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.3526, allocations: 23.8 kB / 1.35 GB, free: 7.695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.353, allocations: 107.7 kB / 1.35 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.3532, allocations: 95.64 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3533, allocations: 20.2 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.3535, allocations: 51.78 kB / 1.35 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/0.3536, allocations: 47.81 kB / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3536, allocations: 8 kB / 1.35 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.3537, allocations: 99.84 kB / 1.35 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.3538, allocations: 27.91 kB / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.3538, allocations: 47.73 kB / 1.35 GB, free: 7.195 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3541, allocations: 147.7 kB / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3541, allocations: 0 / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3541, allocations: 0 / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.3541, allocations: 0 / 1.351 GB, free: 7.051 MB / 1.045 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.0007743/0.3548, allocations: 468.5 kB / 1.351 GB, free: 6.539 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3549, allocations: 11.98 kB / 1.351 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.3549, allocations: 38.73 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.3552, allocations: 36.77 kB / 1.351 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3554, allocations: 201.7 kB / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3554, allocations: 384 / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3554, allocations: 12.36 kB / 1.351 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.3558, allocations: 113.7 kB / 1.351 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.3558, allocations: 3.938 kB / 1.351 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3558, allocations: 0 / 1.351 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.3558, allocations: 11.98 kB / 1.351 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.3561, allocations: 79.92 kB / 1.351 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.3568, allocations: 348.7 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.3571, allocations: 90.45 kB / 1.352 GB, free: 5.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3573, allocations: 53.44 kB / 1.352 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.3573, allocations: 0 / 1.352 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.3577, allocations: 115.3 kB / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3577, allocations: 0 / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006829/0.3583, allocations: 213.5 kB / 1.352 GB, free: 5.105 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.3584, allocations: 55.41 kB / 1.352 GB, free: 5.039 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3585, allocations: 148.6 kB / 1.352 GB, free: 4.887 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.3585, allocations: 29.7 kB / 1.352 GB, free: 4.852 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.3586, allocations: 100 kB / 1.353 GB, free: 4.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.3586, allocations: 27.8 kB / 1.353 GB, free: 4.723 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.3587, allocations: 29.7 kB / 1.353 GB, free: 4.688 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3588, allocations: 318.8 kB / 1.353 GB, free: 4.367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.359, allocations: 63.95 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3592, allocations: 55.89 kB / 1.353 GB, free: 4.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.3596, allocations: 146.9 kB / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3596, allocations: 0 / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004846/0.3601, allocations: 199.3 kB / 1.353 GB, free: 3.891 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.3601, allocations: 33.8 kB / 1.353 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3601, allocations: 3.938 kB / 1.353 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3601, allocations: 3.938 kB / 1.353 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3603, allocations: 19.97 kB / 1.353 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3603, allocations: 3.938 kB / 1.353 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.3604, allocations: 35.86 kB / 1.353 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3605, allocations: 4 kB / 1.353 GB, free: 3.781 MB / 1.045 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.0001013/0.3606, allocations: 117.8 kB / 1.354 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3606, allocations: 11.95 kB / 1.354 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.3606, allocations: 16.72 kB / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.3606, allocations: 7.984 kB / 1.354 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3606, allocations: 3.938 kB / 1.354 GB, free: 3.613 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3606, allocations: 0 / 1.354 GB, free: 3.613 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.3608, allocations: 189.6 kB / 1.354 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3608, allocations: 4 kB / 1.354 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3609, allocations: 19.97 kB / 1.354 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3609, allocations: 0 / 1.354 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.361, allocations: 0 / 1.354 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.361, allocations: 3.938 kB / 1.354 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.361, allocations: 3.938 kB / 1.354 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.3614, allocations: 181 kB / 1.354 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.3615, allocations: 93 kB / 1.354 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3615, allocations: 0 / 1.354 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.3616, allocations: 15.98 kB / 1.354 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.3617, allocations: 19.91 kB / 1.354 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.3617, allocations: 3.984 kB / 1.354 GB, free: 3.004 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.868e-05/0.3618, allocations: 112.5 kB / 1.354 GB, free: 2.895 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3618, allocations: 7.938 kB / 1.354 GB, free: 2.887 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002473/0.362, allocations: 39.94 kB / 1.354 GB, free: 2.848 MB / 1.045 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.0008047/0.3628, allocations: 0.7333 MB / 1.355 GB, free: 2.086 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.3633, allocations: 175.3 kB / 1.355 GB, free: 1.902 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3633, allocations: 0 / 1.355 GB, free: 1.902 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.3635, allocations: 63.89 kB / 1.355 GB, free: 1.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.3637, allocations: 14.11 kB / 1.355 GB, free: 1.828 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.3661, allocations: 1.71 MB / 1.357 GB, free: 28 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.3664, allocations: 0.7078 MB / 1.358 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.441e-05/0.3665, allocations: 15.97 kB / 1.358 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.3666, allocations: 31.42 kB / 1.358 GB, free: 15.25 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3666, allocations: 0 / 1.358 GB, free: 15.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.3914, allocations: 2.824 MB / 1.36 GB, free: 12.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.175, allocations: 16 kB / 1.36 GB, free: 12.51 MB / 1.061 GB " [Timeout remaining time 292] (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: 15.111459305044264]