Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.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.0008412/0.0008412, 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.0008438/0.0008438, 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.9277/0.9277, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.781/1.781, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.793e-05, allocations: 6.078 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.001645/0.001662, allocations: 1.079 MB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.002697, allocations: 1.085 MB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.002783, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.256e-05/0.002826, allocations: 23.67 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.002951, allocations: 43.59 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.003217, allocations: 99.77 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.003419, allocations: 255.2 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.003556, allocations: 63.86 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.003767, allocations: 143.7 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.003857, allocations: 83.69 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.003887, allocations: 24 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.822e-05/0.003935, allocations: 36 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.00397, allocations: 55.81 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.004024, allocations: 67.83 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.004259, allocations: 299 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004261, allocations: 0 / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004261, allocations: 0 / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004266, allocations: 0 / 1.004 GB, free: 10.18 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006086/0.004874, allocations: 477.1 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.00491, allocations: 13.28 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.004957, allocations: 54.73 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.005097, allocations: 40.77 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.005326, allocations: 189.3 kB / 1.005 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.436e-05/0.0054, allocations: 123.4 kB / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.005426, allocations: 16.38 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.005692, allocations: 198 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.005704, allocations: 4.188 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.005719, allocations: 8.125 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.005725, allocations: 4 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.005972, allocations: 151.8 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.006542, allocations: 0.4953 MB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.006798, allocations: 134.8 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.006919, allocations: 79.31 kB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.006942, allocations: 7.984 kB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.007148, allocations: 151.1 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.00715, allocations: 0 / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.0004606/0.00761, allocations: 271.3 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.007642, allocations: 55.41 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.007774, allocations: 192.4 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.007791, allocations: 29.7 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.007849, allocations: 136.6 kB / 1.007 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.007888, allocations: 63.47 kB / 1.007 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.007938, allocations: 41.7 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.008018, allocations: 330.8 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.008139, allocations: 75.95 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.008272, allocations: 109 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.008509, allocations: 182.4 kB / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008511, allocations: 3.938 kB / 1.007 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003019/0.008812, allocations: 233.4 kB / 1.008 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.008824, allocations: 4 kB / 1.008 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.008829, allocations: 4 kB / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.008839, allocations: 0 / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.008954, allocations: 55.91 kB / 1.008 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.008959, allocations: 3.984 kB / 1.008 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.009032, allocations: 23.88 kB / 1.008 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.009043, allocations: 8 kB / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (loaHea.movAve.mode,$PRE.loaHea.movAve.mode,$whenCondition1,loaCoo.movAve.mode,$PRE.loaCoo.movAve.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.441e-05/0.009127, allocations: 137.7 kB / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.009145, allocations: 19.86 kB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.009182, allocations: 29.73 kB / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.009185, allocations: 4 kB / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.009188, allocations: 4 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009192, allocations: 0 / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.009349, allocations: 236.5 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.00935, allocations: 0 / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.009466, allocations: 39.91 kB / 1.008 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.009468, allocations: 0 / 1.008 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.00948, allocations: 4 kB / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.009481, allocations: 0 / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.009481, allocations: 0 / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.009999, allocations: 339 kB / 1.008 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.01002, allocations: 23.89 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.01004, allocations: 3.984 kB / 1.008 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.188e-05/0.0101, allocations: 15.98 kB / 1.009 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.01016, allocations: 19.97 kB / 1.009 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.01017, allocations: 4 kB / 1.009 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.225e-05/0.01026, allocations: 152.3 kB / 1.009 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01026, allocations: 0 / 1.009 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001624/0.01042, allocations: 39.94 kB / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (loaHea.movAve.mu,loaCoo.movAve.mu) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,loaHea.movAve.mode,loaCoo.movAve.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * 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.0006045/0.01102, allocations: 0.8781 MB / 1.01 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.01131, allocations: 175.8 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.01132, allocations: 0 / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.01145, allocations: 87.89 kB / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.01166, allocations: 47.91 kB / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.01369, allocations: 2.267 MB / 1.012 GB, free: 1.355 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.653e-05/0.01375, allocations: 125.4 kB / 1.012 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.378e-05/0.01382, allocations: 29.61 kB / 1.012 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.0139, allocations: 64.47 kB / 1.012 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.0139, allocations: 0 / 1.012 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08088/0.09478, allocations: 5.382 MB / 1.018 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/7.341, allocations: 19.06 kB / 1.018 GB, free: 11.91 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_fmpy.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_fmpy_res.csv --start-time 0 --stop-time 2000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 ../Buildings_13_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.799112422391772]