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.001122/0.001122, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001235/0.001235, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.923/0.923, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.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.807/1.807, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.493e-06/1.493e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.28e-05, allocations: 10.16 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.0022/0.002223, allocations: 1.548 MB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008485/0.003072, allocations: 0.6201 MB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.003141, allocations: 0 / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.797e-05/0.003239, allocations: 11.88 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.003283, allocations: 19.8 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.003723, allocations: 111.6 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.003866, allocations: 99.64 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.003968, allocations: 8.234 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.004138, allocations: 71.73 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.00421, allocations: 43.89 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.004229, allocations: 4 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.004359, allocations: 99.83 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.004403, allocations: 19.92 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.004448, allocations: 27.91 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.004655, allocations: 167.6 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004658, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004659, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.004664, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 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.0005744/0.005238, allocations: 387.4 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.005278, allocations: 9.344 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.005312, allocations: 42.73 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.005487, allocations: 28.88 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.005709, allocations: 137.5 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.005722, allocations: 4.375 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.005737, allocations: 8.375 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.005951, allocations: 106.1 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.00596, allocations: 192 / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.005973, allocations: 12.06 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.005993, allocations: 7.984 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.006173, allocations: 83.92 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.006641, allocations: 311.7 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.006824, allocations: 90.45 kB / 1.005 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.006921, allocations: 52.88 kB / 1.005 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.006936, allocations: 4 kB / 1.005 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.007136, allocations: 111.3 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 2.364e-06/0.007138, allocations: 4 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0004037/0.007542, allocations: 209.4 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.007573, allocations: 55.41 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.007664, allocations: 143.3 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.007679, allocations: 25.7 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.007732, allocations: 100.2 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.007751, allocations: 35.77 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.007795, allocations: 25.7 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.007871, allocations: 326.8 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.007993, allocations: 81.66 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.008101, allocations: 85.66 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.008372, allocations: 154.5 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008374, allocations: 0 / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002767/0.008651, allocations: 224.9 kB / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.008681, allocations: 33.7 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.008689, allocations: 4 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.008702, allocations: 480 / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.008791, allocations: 23.91 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.008796, allocations: 4 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.008867, allocations: 15.98 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.008878, allocations: 3.984 kB / 1.006 GB, free: 7.574 MB / 0.9636 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 7.524e-05/0.008953, allocations: 128.3 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.008967, allocations: 11.95 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.008998, allocations: 12.78 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.00901, allocations: 7.984 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.009015, allocations: 4 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.009019, allocations: 4 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.009153, allocations: 176.5 kB / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.009155, allocations: 0 / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.009212, allocations: 15.98 kB / 1.007 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.009215, allocations: 0 / 1.007 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.009223, allocations: 0 / 1.007 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.009224, allocations: 0 / 1.007 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.009226, allocations: 7.922 kB / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.009485, allocations: 188.9 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.009498, allocations: 3.953 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.009519, allocations: 11.98 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.009573, allocations: 11.98 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.009628, allocations: 15.97 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.009636, allocations: 4 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.77e-05/0.009694, allocations: 113.2 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009694, allocations: 0 / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001929/0.009887, allocations: 39.89 kB / 1.007 GB, free: 6.762 MB / 0.9636 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.0005156/0.0104, allocations: 0.7334 MB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002955/0.0107, allocations: 212.9 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0107, allocations: 0 / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01081, allocations: 67.89 kB / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.01098, allocations: 11.92 kB / 1.008 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.01265, allocations: 1.829 MB / 1.01 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.01271, allocations: 89.44 kB / 1.01 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.779e-05/0.01277, allocations: 7.984 kB / 1.01 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.01282, allocations: 40.48 kB / 1.01 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of SimCode: time 8.72e-07/0.01282, allocations: 3.938 kB / 1.01 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08694/0.09976, allocations: 3.526 MB / 1.013 GB, free: 220 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.138, allocations: 0.75 kB / 1.013 GB, free: 220 kB / 0.9636 GB " [Timeout remaining time 293] (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: 11.79011841583997]