Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.0006766/0.0006766, allocations: 108.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.0008151/0.0008151, allocations: 220.3 kB / 23.03 MB, free: 2.953 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.999/0.999, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.91/1.91, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 MB / 0.6511 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.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009118/0.0009118, allocations: 76.86 kB / 1.177 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3227, allocations: 180 MB / 1.352 GB, free: 9.211 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002304/0.325, allocations: 1.206 MB / 1.354 GB, free: 8.004 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3261, allocations: 1.03 MB / 1.355 GB, free: 6.961 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.3262, allocations: 4 kB / 1.355 GB, free: 6.957 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 7.003e-05/0.3263, allocations: 31.59 kB / 1.355 GB, free: 6.926 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.3264, allocations: 39.66 kB / 1.355 GB, free: 6.887 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.3266, allocations: 119.9 kB / 1.355 GB, free: 6.77 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.00024/0.3268, allocations: 352.3 kB / 1.355 GB, free: 6.426 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.3271, allocations: 166.5 kB / 1.355 GB, free: 6.266 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3272, allocations: 131.6 kB / 1.355 GB, free: 6.137 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.3273, allocations: 119.4 kB / 1.356 GB, free: 6.02 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.3273, allocations: 48 kB / 1.356 GB, free: 5.973 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.823e-05/0.3274, allocations: 44 kB / 1.356 GB, free: 5.93 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.3274, allocations: 75.84 kB / 1.356 GB, free: 5.855 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.414e-05/0.3275, allocations: 131.4 kB / 1.356 GB, free: 5.727 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.3279, allocations: 0.537 MB / 1.356 GB, free: 5.188 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3279, allocations: 0 / 1.356 GB, free: 5.188 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3279, allocations: 0 / 1.356 GB, free: 5.188 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3279, allocations: 0 / 1.356 GB, free: 5.188 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0005967/0.3285, allocations: 0.4978 MB / 1.357 GB, free: 4.656 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3285, allocations: 16.86 kB / 1.357 GB, free: 4.641 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.3286, allocations: 70.72 kB / 1.357 GB, free: 4.562 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.3286, allocations: 28.75 kB / 1.357 GB, free: 4.535 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.3289, allocations: 218.7 kB / 1.357 GB, free: 4.297 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3289, allocations: 25.03 kB / 1.357 GB, free: 4.273 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.3289, allocations: 28.38 kB / 1.357 GB, free: 4.246 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.3293, allocations: 314.6 kB / 1.358 GB, free: 3.93 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3293, allocations: 3.938 kB / 1.358 GB, free: 3.926 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3293, allocations: 16 kB / 1.358 GB, free: 3.91 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3293, allocations: 8 kB / 1.358 GB, free: 3.902 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.3297, allocations: 282.4 kB / 1.358 GB, free: 3.629 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008083/0.3305, allocations: 0.7536 MB / 1.359 GB, free: 2.828 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.3309, allocations: 246.7 kB / 1.359 GB, free: 2.578 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3311, allocations: 140.7 kB / 1.359 GB, free: 2.438 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3311, allocations: 4 kB / 1.359 GB, free: 2.434 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.3311, allocations: 30.56 kB / 1.359 GB, free: 2.395 MB / 1.042 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.3311, allocations: 4 kB / 1.359 GB, free: 2.391 MB / 1.042 GB Notification: Performance of matching and sorting (n=25): time 0.0005465/0.3317, allocations: 364.3 kB / 1.359 GB, free: 2.031 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.3317, allocations: 63.33 kB / 1.359 GB, free: 1.957 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.3318, allocations: 143.3 kB / 1.36 GB, free: 1.809 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3318, allocations: 29.7 kB / 1.36 GB, free: 1.773 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.3319, allocations: 168.5 kB / 1.36 GB, free: 1.602 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.332, allocations: 87.22 kB / 1.36 GB, free: 1.516 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.332, allocations: 37.95 kB / 1.36 GB, free: 1.469 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.3321, allocations: 330.8 kB / 1.36 GB, free: 1.137 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3323, allocations: 92.41 kB / 1.36 GB, free: 1.047 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.3324, allocations: 132.3 kB / 1.36 GB, free: 0.9102 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.3327, allocations: 232.2 kB / 1.361 GB, free: 0.6758 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3327, allocations: 0 / 1.361 GB, free: 0.6758 MB / 1.042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003492/0.3331, allocations: 288 kB / 1.361 GB, free: 400 kB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3331, allocations: 4 kB / 1.361 GB, free: 396 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3331, allocations: 4 kB / 1.361 GB, free: 392 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3331, allocations: 4 kB / 1.361 GB, free: 388 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.3333, allocations: 71.83 kB / 1.361 GB, free: 316 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3333, allocations: 0 / 1.361 GB, free: 316 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.3334, allocations: 39.75 kB / 1.361 GB, free: 276 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3334, allocations: 12.06 kB / 1.361 GB, free: 264 kB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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 9.996e-05/0.3335, allocations: 149.8 kB / 1.361 GB, free: 104 kB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.3335, allocations: 15.89 kB / 1.361 GB, free: 88 kB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.3335, allocations: 21.28 kB / 1.361 GB, free: 68 kB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.3335, allocations: 7.938 kB / 1.361 GB, free: 60 kB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3336, allocations: 0 / 1.361 GB, free: 60 kB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3336, allocations: 3.984 kB / 1.361 GB, free: 56 kB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.3338, allocations: 284.5 kB / 1.361 GB, free: 15.73 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3338, allocations: 4 kB / 1.361 GB, free: 15.73 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.3339, allocations: 63.95 kB / 1.361 GB, free: 15.67 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3339, allocations: 0 / 1.361 GB, free: 15.67 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.334, allocations: 4 kB / 1.362 GB, free: 15.66 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.334, allocations: 7.938 kB / 1.362 GB, free: 15.66 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.334, allocations: 7.875 kB / 1.362 GB, free: 15.65 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.3343, allocations: 369.2 kB / 1.362 GB, free: 15.27 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.3344, allocations: 11.91 kB / 1.362 GB, free: 15.26 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.3344, allocations: 8 kB / 1.362 GB, free: 15.25 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.3344, allocations: 27.91 kB / 1.362 GB, free: 15.23 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.3345, allocations: 15.97 kB / 1.362 GB, free: 15.21 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.3345, allocations: 4 kB / 1.362 GB, free: 15.21 MB / 1.057 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.3346, allocations: 109.1 kB / 1.362 GB, free: 15.1 MB / 1.057 GB Notification: Performance of sort global known variables: time 5e-08/0.3346, allocations: 0 / 1.362 GB, free: 15.1 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0001869/0.3347, allocations: 59.78 kB / 1.362 GB, free: 15.04 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 (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 Backend phase and start with SimCode phase: time 0.000564/0.3353, allocations: 0.9098 MB / 1.363 GB, free: 14.11 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.000367/0.3357, allocations: 235.8 kB / 1.363 GB, free: 13.88 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3357, allocations: 0 / 1.363 GB, free: 13.88 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.3358, allocations: 123.7 kB / 1.363 GB, free: 13.76 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.3361, allocations: 27.92 kB / 1.363 GB, free: 13.73 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.3382, allocations: 2.262 MB / 1.366 GB, free: 11.38 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.816e-05/0.3383, allocations: 141.8 kB / 1.366 GB, free: 11.21 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 7.286e-05/0.3383, allocations: 21.42 kB / 1.366 GB, free: 11.2 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/0.3384, allocations: 71.42 kB / 1.366 GB, free: 11.12 MB / 1.057 GB Notification: Performance of SimCode: time 7.22e-07/0.3384, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09948/0.4379, allocations: 4.151 MB / 1.37 GB, free: 7.148 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/7.161, allocations: 17.72 kB / 1.37 GB, free: 7.133 MB / 1.057 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu) > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_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_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu) > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.393614115193486]