Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.0007836/0.0007836, allocations: 76.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008339/0.0008339, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.9249/0.9249, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.771/1.771, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PIIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.876e-05, allocations: 8.953 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001452/0.001471, allocations: 0.9004 MB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008098/0.002281, allocations: 0.8977 MB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.002333, allocations: 4 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.002373, allocations: 19.73 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.092e-05/0.002454, allocations: 19.8 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 8.004e-05/0.002534, allocations: 55.94 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.002663, allocations: 156.2 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.002817, allocations: 61.22 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.002922, allocations: 91.84 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.002984, allocations: 55.73 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.003013, allocations: 20 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.003025, allocations: 16 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.003052, allocations: 35.91 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.003089, allocations: 43.84 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.003264, allocations: 219.3 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003266, allocations: 0 / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.003267, allocations: 4 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003272, allocations: 0 / 1.002 GB, free: 10.9 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004552/0.003727, allocations: 381.7 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.003766, allocations: 8.75 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.003805, allocations: 46.73 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.003832, allocations: 16.84 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.003994, allocations: 157.5 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.004005, allocations: 16.31 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.004021, allocations: 16.38 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.004261, allocations: 165.9 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.004269, allocations: 192 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.004281, allocations: 4.375 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.004288, allocations: 8.125 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.004513, allocations: 147.9 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.004954, allocations: 431.3 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.00527, allocations: 150.6 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.005386, allocations: 84.78 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.0054, allocations: 11.92 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.005417, allocations: 30.56 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.005418, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0003759/0.005794, allocations: 223.7 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.005823, allocations: 51.41 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.005888, allocations: 121.8 kB / 1.004 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.0059, allocations: 25.7 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.005948, allocations: 120.4 kB / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.005979, allocations: 43.59 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.006015, allocations: 25.7 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.006093, allocations: 322.8 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.294e-05/0.006186, allocations: 60.14 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.97e-05/0.006276, allocations: 63.95 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.006461, allocations: 116.8 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006462, allocations: 0 / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002097/0.006672, allocations: 164.1 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.006685, allocations: 12 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.006689, allocations: 0 / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.006701, allocations: 7.922 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.006798, allocations: 35.92 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.006802, allocations: 0 / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.006847, allocations: 23.92 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.006854, allocations: 4 kB / 1.005 GB, free: 7.676 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 (14): * Single equations (assignments): 14 * 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 6.308e-05/0.006917, allocations: 117.8 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.006934, allocations: 19.89 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.006956, allocations: 16.44 kB / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006958, allocations: 0 / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.006963, allocations: 0 / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006966, allocations: 4 kB / 1.005 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.00712, allocations: 200.5 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007121, allocations: 0 / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.221e-05/0.007203, allocations: 47.84 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.007205, allocations: 4 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.007212, allocations: 0 / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007213, allocations: 4 kB / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007214, allocations: 0 / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.007452, allocations: 263.4 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.007462, allocations: 11.89 kB / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.007473, allocations: 4 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.00753, allocations: 11.98 kB / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.00757, allocations: 15.98 kB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.007573, allocations: 0 / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.007605, allocations: 95.27 kB / 1.006 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007605, allocations: 3.938 kB / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001536/0.007759, allocations: 31.89 kB / 1.006 GB, free: 6.77 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 (14): * Single equations (assignments): 14 * 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.00041/0.008169, allocations: 0.7944 MB / 1.007 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.008405, allocations: 134.5 kB / 1.007 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.008407, allocations: 0 / 1.007 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.8e-05/0.008505, allocations: 67.89 kB / 1.007 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.008726, allocations: 27.98 kB / 1.007 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.0101, allocations: 1.706 MB / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.761e-05/0.01015, allocations: 93.62 kB / 1.009 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.294e-05/0.0102, allocations: 12.48 kB / 1.009 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.01025, allocations: 40.48 kB / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.01025, allocations: 0 / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.02522, allocations: 3.162 MB / 1.012 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.598/6.623, allocations: 11.92 kB / 1.012 GB, free: 0.8281 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.824444719590247]