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.PIDGain.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.0008225/0.0008225, 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.0009134/0.0009134, 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.9242/0.9242, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.834/1.834, allocations: 389.6 MB / 0.6343 GB, free: 12.57 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.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.404e-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.PIDGain): time 0.001485/0.001509, allocations: 0.8376 MB / 1.002 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008475/0.002357, allocations: 0.8705 MB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.002414, allocations: 4 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.002449, allocations: 7.875 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.947e-05/0.002538, allocations: 19.78 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.281e-05/0.002611, allocations: 35.97 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.002744, allocations: 119.7 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.002882, allocations: 33.28 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.002995, allocations: 71.81 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.003055, allocations: 39.88 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.003079, allocations: 12 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.00309, allocations: 8 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.003115, allocations: 23.92 kB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.003151, allocations: 31.91 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.004414, allocations: 147.4 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.00442, allocations: 0 / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.234e-06/0.004422, allocations: 8 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.004428, allocations: 0 / 1.003 GB, free: 11.23 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006145/0.005042, allocations: 350.1 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/0.005107, allocations: 8.75 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.564e-05/0.005173, allocations: 42.73 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.005214, allocations: 12.84 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.005449, allocations: 137.8 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.005463, allocations: 12.56 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.005479, allocations: 8.375 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.0058, allocations: 127.8 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.00581, allocations: 0 / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.005825, allocations: 8 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.00583, allocations: 0 / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.006182, allocations: 127.9 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.006821, allocations: 347.8 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.007192, allocations: 114.5 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.007369, allocations: 60.81 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.007382, allocations: 0 / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.007413, allocations: 42.48 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/0.007415, allocations: 0 / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0006255/0.008041, allocations: 205.5 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.008086, allocations: 59.34 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.008217, allocations: 134 kB / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.008232, allocations: 25.7 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.008311, allocations: 112.2 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.008336, allocations: 23.8 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.008385, allocations: 29.66 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.00849, allocations: 322.8 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.008651, allocations: 51.94 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.008819, allocations: 65.66 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.009136, allocations: 133.5 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.009139, allocations: 0 / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003662/0.009505, allocations: 157.5 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.009524, allocations: 4 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.009531, allocations: 7.938 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.009552, allocations: 0 / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.00968, allocations: 31.91 kB / 1.006 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.009688, allocations: 0 / 1.006 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.009778, allocations: 27.91 kB / 1.006 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.009787, allocations: 8.031 kB / 1.006 GB, free: 8.285 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.593e-05/0.009883, allocations: 117.8 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.009915, allocations: 7.953 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.009956, allocations: 16.77 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.009962, allocations: 4 kB / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.009968, allocations: 0 / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.009972, allocations: 0 / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.01017, allocations: 168.6 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01017, allocations: 4 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.01029, allocations: 31.97 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.01029, allocations: 0 / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.0103, allocations: 0 / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.01031, allocations: 3.938 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.01031, allocations: 0 / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.01075, allocations: 247.3 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.01077, allocations: 16.14 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.01079, allocations: 0 / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.01089, allocations: 23.91 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.01097, allocations: 7.984 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.01097, allocations: 4 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.01104, allocations: 102.2 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01104, allocations: 0 / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002512/0.01129, allocations: 23.89 kB / 1.006 GB, free: 7.457 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 (8): * Single equations (assignments): 8 * 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.0006983/0.01199, allocations: 0.7904 MB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.01237, allocations: 124.4 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01237, allocations: 0 / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.01253, allocations: 59.94 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.01294, allocations: 24.28 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.01522, allocations: 1.66 MB / 1.009 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.197e-05/0.0153, allocations: 84.27 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.919e-05/0.01537, allocations: 7.984 kB / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.01545, allocations: 32.5 kB / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of SimCode: time 9.02e-07/0.01545, allocations: 0 / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07949/0.09494, allocations: 3.2 MB / 1.012 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.256, allocations: 6.438 kB / 1.012 GB, free: 1.574 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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_PIDGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu) > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_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_PIDGain.fmu) > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.984356359578669]