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.00082/0.00082, allocations: 104.3 kB / 19.72 MB, free: 424 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.001014/0.001014, allocations: 218.8 kB / 23.02 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 1.006/1.006, allocations: 230.6 MB / 256.8 MB, free: 9.613 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 2.01/2.01, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 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.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 0.001102/0.001102, allocations: 74.25 kB / 1.177 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3684, allocations: 180 MB / 1.352 GB, free: 9.234 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00174/0.3702, allocations: 1.236 MB / 1.354 GB, free: 7.988 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0002504/0.3704, allocations: 56.17 kB / 1.354 GB, free: 7.934 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.3705, allocations: 0 / 1.354 GB, free: 7.934 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.499e-05/0.3705, allocations: 0 / 1.354 GB, free: 7.934 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.3706, allocations: 11.98 kB / 1.354 GB, free: 7.922 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.3708, allocations: 11.94 kB / 1.354 GB, free: 7.91 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.3709, allocations: 15.97 kB / 1.354 GB, free: 7.895 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.3709, allocations: 8 kB / 1.354 GB, free: 7.887 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.545e-05/0.371, allocations: 7.938 kB / 1.354 GB, free: 7.879 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.371, allocations: 16.66 kB / 1.354 GB, free: 7.859 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3711, allocations: 0 / 1.354 GB, free: 7.859 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.3711, allocations: 4 kB / 1.354 GB, free: 7.855 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.365e-05/0.3712, allocations: 52.44 kB / 1.354 GB, free: 7.805 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.3713, allocations: 31.75 kB / 1.354 GB, free: 7.773 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.3714, allocations: 75.88 kB / 1.354 GB, free: 7.699 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3714, allocations: 0 / 1.354 GB, free: 7.699 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3714, allocations: 0 / 1.354 GB, free: 7.699 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.3714, allocations: 0 / 1.354 GB, free: 7.699 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003195/0.3717, allocations: 353.6 kB / 1.354 GB, free: 7.324 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3718, allocations: 12.88 kB / 1.354 GB, free: 7.312 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.3718, allocations: 114 kB / 1.354 GB, free: 7.191 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.3719, allocations: 92.12 kB / 1.354 GB, free: 7.102 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.372, allocations: 209.6 kB / 1.355 GB, free: 6.871 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.372, allocations: 162.5 kB / 1.355 GB, free: 6.711 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.3721, allocations: 150.6 kB / 1.355 GB, free: 6.562 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.146e-05/0.3721, allocations: 108.9 kB / 1.355 GB, free: 6.449 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.3721, allocations: 75.28 kB / 1.355 GB, free: 6.375 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.3722, allocations: 150.6 kB / 1.355 GB, free: 6.227 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/0.3724, allocations: 154.6 kB / 1.355 GB, free: 6.074 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.3724, allocations: 150.6 kB / 1.356 GB, free: 5.926 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.3726, allocations: 464.9 kB / 1.356 GB, free: 5.43 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.32e-05/0.3727, allocations: 177.1 kB / 1.356 GB, free: 5.246 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.3727, allocations: 80.14 kB / 1.356 GB, free: 5.164 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3728, allocations: 83.28 kB / 1.356 GB, free: 5.082 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.3728, allocations: 105.8 kB / 1.356 GB, free: 4.969 MB / 1.042 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3728, allocations: 0 / 1.356 GB, free: 4.969 MB / 1.042 GB Notification: Performance of matching and sorting (n=0): time 6.368e-05/0.3729, allocations: 37.61 kB / 1.356 GB, free: 4.926 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3729, allocations: 130.6 kB / 1.357 GB, free: 4.785 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3731, allocations: 239 kB / 1.357 GB, free: 4.543 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.3731, allocations: 25.7 kB / 1.357 GB, free: 4.512 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.3731, allocations: 112.1 kB / 1.357 GB, free: 4.398 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.3731, allocations: 0 / 1.357 GB, free: 4.398 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.3732, allocations: 41.69 kB / 1.357 GB, free: 4.352 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3733, allocations: 326.8 kB / 1.357 GB, free: 4.023 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.419e-05/0.3734, allocations: 59.97 kB / 1.357 GB, free: 3.965 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.3734, allocations: 55.95 kB / 1.357 GB, free: 3.91 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3735, allocations: 135 kB / 1.358 GB, free: 3.777 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3735, allocations: 3.984 kB / 1.358 GB, free: 3.773 MB / 1.042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002221/0.3738, allocations: 176.2 kB / 1.358 GB, free: 3.598 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3738, allocations: 4 kB / 1.358 GB, free: 3.594 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3738, allocations: 0 / 1.358 GB, free: 3.594 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3738, allocations: 0 / 1.358 GB, free: 3.594 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.3738, allocations: 0 / 1.358 GB, free: 3.594 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3738, allocations: 0 / 1.358 GB, free: 3.594 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.3738, allocations: 19.78 kB / 1.358 GB, free: 3.574 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3738, allocations: 12.06 kB / 1.358 GB, free: 3.562 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: 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.535e-05/0.3739, allocations: 209.6 kB / 1.358 GB, free: 3.348 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.374, allocations: 112.9 kB / 1.358 GB, free: 3.23 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.374, allocations: 121.2 kB / 1.358 GB, free: 3.105 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-05/0.374, allocations: 180.3 kB / 1.358 GB, free: 2.922 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-05/0.3741, allocations: 184.3 kB / 1.359 GB, free: 2.734 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.003e-05/0.3741, allocations: 184.1 kB / 1.359 GB, free: 2.547 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.3743, allocations: 416.1 kB / 1.359 GB, free: 2.09 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/0.3743, allocations: 109 kB / 1.359 GB, free: 1.977 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.3743, allocations: 101 kB / 1.359 GB, free: 1.871 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.099e-05/0.3744, allocations: 184.3 kB / 1.359 GB, free: 1.684 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.3744, allocations: 184.2 kB / 1.36 GB, free: 1.496 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.862e-05/0.3745, allocations: 180.3 kB / 1.36 GB, free: 1.312 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.323e-05/0.3745, allocations: 188.2 kB / 1.36 GB, free: 1.121 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.929e-05/0.3746, allocations: 319.8 kB / 1.36 GB, free: 0.7852 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.3746, allocations: 112.9 kB / 1.36 GB, free: 0.668 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.3747, allocations: 184.3 kB / 1.361 GB, free: 492 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.3748, allocations: 108.9 kB / 1.361 GB, free: 376 kB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.3748, allocations: 176.3 kB / 1.361 GB, free: 192 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3748, allocations: 104.9 kB / 1.361 GB, free: 80 kB / 1.042 GB Notification: Performance of sorting global known variables: time 9.102e-05/0.3749, allocations: 160.6 kB / 1.361 GB, free: 15.92 MB / 1.057 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3749, allocations: 0 / 1.361 GB, free: 15.92 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0001532/0.3751, allocations: 20 kB / 1.361 GB, free: 15.9 MB / 1.057 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.0003024/0.3754, allocations: 0.8203 MB / 1.362 GB, free: 15.05 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.3755, allocations: 55.97 kB / 1.362 GB, free: 15 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3755, allocations: 4 kB / 1.362 GB, free: 14.99 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.3755, allocations: 3.938 kB / 1.362 GB, free: 14.99 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.3757, allocations: 467.7 kB / 1.362 GB, free: 14.53 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3773, allocations: 2.131 MB / 1.365 GB, free: 12.32 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.203e-05/0.3773, allocations: 96.72 kB / 1.365 GB, free: 12.2 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.3773, allocations: 11.98 kB / 1.365 GB, free: 12.19 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.3774, allocations: 31.42 kB / 1.365 GB, free: 12.16 MB / 1.057 GB Notification: Performance of SimCode: time 7.91e-07/0.3774, allocations: 0 / 1.365 GB, free: 12.16 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/0.4802, allocations: 3.292 MB / 1.368 GB, free: 8.992 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.567, allocations: 4.672 kB / 1.368 GB, free: 8.992 MB / 1.057 GB " [Timeout remaining time 292] (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: 13.10388852097094]