Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.0008657/0.0008657, allocations: 80.45 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.0008406/0.0008406, allocations: 169.2 kB / 23.24 MB, free: 1.316 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.9032/0.9032, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.918/1.918, allocations: 389.6 MB / 0.6343 GB, free: 12.6 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.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_13_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_13_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.233e-05, allocations: 2.281 kB / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001607/0.001629, allocations: 1.232 MB / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002006/0.00183, allocations: 43.86 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.001859, allocations: 3.938 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.001893, allocations: 0 / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.002014, allocations: 19.84 kB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.002172, allocations: 4 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.002259, allocations: 23.91 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.002307, allocations: 4 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.538e-05/0.002362, allocations: 7.984 kB / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.00242, allocations: 8.75 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.002437, allocations: 0 / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.002515, allocations: 15.92 kB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.002602, allocations: 48.41 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.002634, allocations: 23.94 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.002751, allocations: 63.7 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.002754, allocations: 3.984 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002755, allocations: 8 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.002759, allocations: 0 / 1.002 GB, free: 12.05 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003516/0.003111, allocations: 345.6 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.003158, allocations: 13.34 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.0032, allocations: 106 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.003256, allocations: 92.11 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.003378, allocations: 212.8 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.00342, allocations: 150.9 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.003465, allocations: 150.9 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.664e-05/0.003522, allocations: 108.9 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.003544, allocations: 75.28 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.003585, allocations: 162.5 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/0.003623, allocations: 150.6 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.003664, allocations: 150.6 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.003904, allocations: 476.7 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.359e-05/0.003977, allocations: 169.1 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.004004, allocations: 80.14 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.004026, allocations: 79.22 kB / 1.005 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.004059, allocations: 109.8 kB / 1.005 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.004061, allocations: 0 / 1.005 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.574e-05/0.004126, allocations: 41.55 kB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.004171, allocations: 130.7 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.004347, allocations: 231.1 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.004358, allocations: 25.7 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.00442, allocations: 108.9 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.004423, allocations: 0 / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.004467, allocations: 41.69 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.004567, allocations: 326.8 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.004633, allocations: 59.89 kB / 1.006 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.00468, allocations: 51.97 kB / 1.006 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.004802, allocations: 143 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004804, allocations: 0 / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002138/0.005017, allocations: 190.7 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.005029, allocations: 4 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.005036, allocations: 0 / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.005046, allocations: 4 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.005047, allocations: 0 / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.005051, allocations: 0 / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.005081, allocations: 19.84 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.005093, allocations: 4 kB / 1.006 GB, free: 7.914 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.392e-05/0.005177, allocations: 201.1 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.005219, allocations: 116.9 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.005258, allocations: 125.4 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.305e-05/0.005301, allocations: 180.3 kB / 1.007 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.683e-05/0.005348, allocations: 180.2 kB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.081e-05/0.005389, allocations: 176.3 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.005552, allocations: 412.2 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-05/0.005579, allocations: 105.1 kB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/0.005606, allocations: 109 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.005816, allocations: 184.2 kB / 1.008 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.005862, allocations: 184.2 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.112e-05/0.005903, allocations: 184.2 kB / 1.008 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.144e-05/0.005945, allocations: 184.2 kB / 1.008 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.987e-05/0.006045, allocations: 319.6 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.006083, allocations: 116.9 kB / 1.009 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.006137, allocations: 184.2 kB / 1.009 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.006191, allocations: 105 kB / 1.009 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.006243, allocations: 176.3 kB / 1.009 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.00627, allocations: 108.9 kB / 1.009 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.026e-05/0.00636, allocations: 155.2 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00636, allocations: 0 / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001685/0.006529, allocations: 19.94 kB / 1.009 GB, free: 4.266 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003047/0.006833, allocations: 0.8242 MB / 1.01 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.006934, allocations: 63.89 kB / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.006935, allocations: 0 / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.006936, allocations: 0 / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.00719, allocations: 459.7 kB / 1.011 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.008697, allocations: 2.148 MB / 1.013 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.291e-05/0.008759, allocations: 100.8 kB / 1.013 GB, free: 0.5586 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.008773, allocations: 11.94 kB / 1.013 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.008812, allocations: 28.48 kB / 1.013 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.008812, allocations: 0 / 1.013 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07713/0.08594, allocations: 3.443 MB / 1.016 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.73/6.816, allocations: 7.312 kB / 1.016 GB, free: 13.19 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu) > Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_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_Predictors_BaseClasses_Examples_SampleStart.fmu) > Buildings_13_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.49018577951938]