Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.001295/0.001295, allocations: 80.55 kB / 19.96 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.001297/0.001297, 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.9127/0.9127, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.863/1.863, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.661e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001383/0.0014, allocations: 0.929 MB / 1.002 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008689/0.002269, allocations: 0.9133 MB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.002327, allocations: 0 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.002366, allocations: 23.73 kB / 1.003 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.631e-05/0.002452, allocations: 19.8 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 8.493e-05/0.002537, allocations: 55.94 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.002681, allocations: 172.1 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.002836, allocations: 68.89 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.002948, allocations: 95.86 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.003012, allocations: 55.8 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.003041, allocations: 19.94 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.654e-05/0.003057, allocations: 20 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.003089, allocations: 39.89 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.003135, allocations: 55.83 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.003395, allocations: 235.1 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003397, allocations: 0 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003398, allocations: 0 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.003402, allocations: 0 / 1.003 GB, free: 10.81 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004706/0.003872, allocations: 398 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.003909, allocations: 8.75 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.00395, allocations: 50.73 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.003978, allocations: 16.84 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.004126, allocations: 157.9 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.004138, allocations: 8.703 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.004158, allocations: 20.31 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.004439, allocations: 180.8 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004447, allocations: 192 / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.004462, allocations: 12.38 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.004469, allocations: 8.125 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.004756, allocations: 176.1 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.005258, allocations: 447.3 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.005471, allocations: 130.4 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.005611, allocations: 92.78 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.005623, allocations: 4 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.005639, allocations: 30.56 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.005641, allocations: 0 / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0004622/0.006103, allocations: 255.8 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.006135, allocations: 51.66 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.402e-05/0.006219, allocations: 133.6 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.006232, allocations: 29.7 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.00629, allocations: 124.3 kB / 1.006 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.006314, allocations: 47.62 kB / 1.006 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.006354, allocations: 33.66 kB / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.006437, allocations: 322.8 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.006567, allocations: 67.92 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.0067, allocations: 86.52 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.006949, allocations: 166.4 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.006952, allocations: 7.938 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002951/0.007248, allocations: 204.3 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.007262, allocations: 7.938 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007266, allocations: 4 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.007278, allocations: 0 / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.007398, allocations: 47.84 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.007404, allocations: 4 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.00747, allocations: 27.86 kB / 1.007 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.007477, allocations: 4.062 kB / 1.007 GB, free: 7.305 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.684e-05/0.007554, allocations: 133.7 kB / 1.007 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.007569, allocations: 7.953 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.007597, allocations: 20.77 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007599, allocations: 0 / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.007604, allocations: 0 / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.007607, allocations: 0 / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.007766, allocations: 204.6 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.007767, allocations: 4 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.007852, allocations: 39.91 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007853, allocations: 0 / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.007863, allocations: 4 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.007866, allocations: 4 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.007868, allocations: 3.984 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.008179, allocations: 287.3 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.008188, allocations: 11.95 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.0082, allocations: 0 / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.008273, allocations: 23.97 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.008321, allocations: 15.92 kB / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.008325, allocations: 4 kB / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.943e-05/0.008365, allocations: 95.27 kB / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008365, allocations: 0 / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001661/0.008531, allocations: 31.89 kB / 1.007 GB, free: 6.355 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 (13): * Single equations (assignments): 13 * 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.0004763/0.009007, allocations: 0.8217 MB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.009306, allocations: 161.8 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.009307, allocations: 0 / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.009435, allocations: 79.88 kB / 1.008 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.009679, allocations: 23.98 kB / 1.008 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.01154, allocations: 1.842 MB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.01161, allocations: 106.9 kB / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.761e-05/0.01166, allocations: 8.484 kB / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.01173, allocations: 44.48 kB / 1.01 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of SimCode: time 7.61e-07/0.01173, allocations: 4 kB / 1.01 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07644/0.08817, allocations: 3.453 MB / 1.014 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.436, allocations: 12.03 kB / 1.014 GB, free: 15.91 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.fmu) > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_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_BaseClasses_Validation_PIGain.fmu) > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.19281617179513]