Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008848/0.0008848, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.0009398/0.0009398, allocations: 223.6 kB / 23.03 MB, free: 2.969 MB / 13.93 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.996/0.996, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.981/1.981, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_13_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.89 kB / 1.177 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7088/0.7103, allocations: 180 MB / 1.352 GB, free: 1.746 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002241/0.7125, allocations: 1.553 MB / 1.354 GB, free: 188 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0008559/0.7134, allocations: 0.6039 MB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.7134, allocations: 3.938 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.7136, allocations: 11.86 kB / 1.355 GB, free: 15.56 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.53e-05/0.7136, allocations: 11.88 kB / 1.355 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.714, allocations: 119.7 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.7142, allocations: 99.64 kB / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.7143, allocations: 12.22 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.7144, allocations: 59.83 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.7145, allocations: 43.77 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.7145, allocations: 8 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.7147, allocations: 87.91 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.7147, allocations: 23.86 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.7148, allocations: 39.72 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.7149, allocations: 149.6 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.715, allocations: 0 / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.715, allocations: 0 / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.715, allocations: 0 / 1.355 GB, free: 14.91 MB / 1.042 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.0005727/0.7155, allocations: 387.5 kB / 1.356 GB, free: 14.5 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.7156, allocations: 8.922 kB / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.7156, allocations: 34.75 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.7158, allocations: 28.86 kB / 1.356 GB, free: 14.42 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.716, allocations: 150.3 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.7161, allocations: 4.375 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.7161, allocations: 4.375 kB / 1.356 GB, free: 14.24 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.7163, allocations: 109.7 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.7163, allocations: 0 / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.7163, allocations: 0 / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.7164, allocations: 4 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.7165, allocations: 95.84 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.717, allocations: 307.7 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.7172, allocations: 90.48 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.7173, allocations: 56.88 kB / 1.356 GB, free: 13.53 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.7173, allocations: 0 / 1.356 GB, free: 13.53 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.7175, allocations: 119.3 kB / 1.357 GB, free: 13.4 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.542e-06/0.7175, allocations: 0 / 1.357 GB, free: 13.4 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0003849/0.7179, allocations: 205.4 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.7179, allocations: 55.41 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.859e-05/0.718, allocations: 140 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.7181, allocations: 33.7 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.7181, allocations: 104.4 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.7181, allocations: 31.73 kB / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.7182, allocations: 25.78 kB / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.7182, allocations: 322.8 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.7184, allocations: 89.64 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.485e-05/0.7185, allocations: 81.66 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.7186, allocations: 154.4 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7186, allocations: 0 / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000256/0.7189, allocations: 225 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.7189, allocations: 36.05 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.7189, allocations: 4 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.719, allocations: 0 / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.719, allocations: 23.97 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.7191, allocations: 3.938 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.7191, allocations: 23.94 kB / 1.358 GB, free: 11.78 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.7191, allocations: 4 kB / 1.358 GB, free: 11.78 MB / 1.042 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 8.791e-05/0.7192, allocations: 126.3 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.7192, allocations: 7.953 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.7193, allocations: 12.72 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.7193, allocations: 11.98 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7193, allocations: 7.938 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.7193, allocations: 0 / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.7194, allocations: 156.6 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7194, allocations: 0 / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.7195, allocations: 23.97 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7195, allocations: 0 / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.7195, allocations: 0 / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7195, allocations: 0 / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001093/0.7196, allocations: 3.938 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.7199, allocations: 188.9 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.7199, allocations: 15.92 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.7199, allocations: 0 / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.72, allocations: 15.98 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.72, allocations: 16.09 kB / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.72, allocations: 4 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.625e-05/0.7201, allocations: 112 kB / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7201, allocations: 0 / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002034/0.7203, allocations: 43.92 kB / 1.359 GB, free: 10.97 MB / 1.042 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.0004856/0.7208, allocations: 0.7255 MB / 1.359 GB, free: 10.22 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.7211, allocations: 216.9 kB / 1.36 GB, free: 9.988 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7211, allocations: 4 kB / 1.36 GB, free: 9.984 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.976e-05/0.7212, allocations: 55.95 kB / 1.36 GB, free: 9.93 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.7214, allocations: 17.05 kB / 1.36 GB, free: 9.914 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.723, allocations: 1.834 MB / 1.361 GB, free: 7.965 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.387e-05/0.723, allocations: 85.31 kB / 1.362 GB, free: 7.863 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.248e-05/0.7231, allocations: 19.77 kB / 1.362 GB, free: 7.844 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.7231, allocations: 27.42 kB / 1.362 GB, free: 7.816 MB / 1.042 GB Notification: Performance of SimCode: time 9.42e-07/0.7231, allocations: 0 / 1.362 GB, free: 7.816 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08524/0.8084, allocations: 3.401 MB / 1.365 GB, free: 4.566 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/7.977, allocations: 7.672 kB / 1.365 GB, free: 4.562 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_Continuous_Examples_SignalRanker.fmu) > Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_Continuous_Examples_SignalRanker.fmu) > Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.851586154662073]