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.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.001735/0.001735, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 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.00231/0.00231, allocations: 217.2 kB / 23.04 MB, free: 5.074 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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 3.424/3.424, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.55 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3758, allocations: 179 MB / 1.345 GB, free: 0.5 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002049/0.3779, allocations: 0.863 MB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.379, allocations: 0.886 MB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.3791, allocations: 0 / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.3791, allocations: 7.875 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.3792, allocations: 15.86 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.427e-05/0.3793, allocations: 39.89 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.3794, allocations: 111.8 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3795, allocations: 33.3 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.601e-05/0.3796, allocations: 59.77 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/0.3797, allocations: 55.7 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.3797, allocations: 12 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.878e-05/0.3798, allocations: 12 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.3798, allocations: 23.92 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.3798, allocations: 47.73 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.38, allocations: 135.7 kB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.38, allocations: 0 / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.342e-06/0.38, allocations: 0 / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.38, allocations: 4 kB / 1.348 GB, free: 14.19 MB / 1.045 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.0007003/0.3807, allocations: 363.8 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3808, allocations: 8.031 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.485e-05/0.3808, allocations: 4.375 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.3808, allocations: 46.67 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.3808, allocations: 12.89 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.381, allocations: 146.5 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.381, allocations: 12.5 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3811, allocations: 15.94 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.3814, allocations: 121.5 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3815, allocations: 0 / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3815, allocations: 4 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3815, allocations: 4 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.382, allocations: 127.8 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.3826, allocations: 367.8 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.383, allocations: 106.6 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.3832, allocations: 56.81 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.3832, allocations: 3.938 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3833, allocations: 42.55 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3833, allocations: 0 / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0008062/0.3841, allocations: 201.5 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.3841, allocations: 55.34 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3842, allocations: 130.1 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3842, allocations: 25.7 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.3843, allocations: 112 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.3843, allocations: 27.89 kB / 1.35 GB, free: 12.06 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.3844, allocations: 25.7 kB / 1.35 GB, free: 12.03 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3845, allocations: 318.8 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.3848, allocations: 59.88 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.385, allocations: 65.66 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.3855, allocations: 121.6 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3855, allocations: 0 / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005858/0.3861, allocations: 165.8 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3861, allocations: 8 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3861, allocations: 0 / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3861, allocations: 0 / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.3863, allocations: 35.91 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3863, allocations: 4.188 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.3864, allocations: 20 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3864, allocations: 7.938 kB / 1.35 GB, free: 11.21 MB / 1.045 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 0.0001057/0.3865, allocations: 121.8 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.3866, allocations: 7.953 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.3866, allocations: 16.7 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3866, allocations: 7.875 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3866, allocations: 0 / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3866, allocations: 0 / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.3869, allocations: 184.6 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3869, allocations: 4 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.387, allocations: 27.97 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.387, allocations: 0 / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.387, allocations: 11.98 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.387, allocations: 3.938 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.387, allocations: 0 / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.3876, allocations: 255.3 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.3876, allocations: 11.89 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3876, allocations: 0 / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.3878, allocations: 23.91 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3878, allocations: 7.984 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3879, allocations: 8 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001232/0.388, allocations: 101.5 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.388, allocations: 0 / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002435/0.3882, allocations: 16 kB / 1.351 GB, free: 10.35 MB / 1.045 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.0009048/0.3891, allocations: 0.7826 MB / 1.352 GB, free: 9.543 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005219/0.3896, allocations: 127.9 kB / 1.352 GB, free: 9.418 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3896, allocations: 0 / 1.352 GB, free: 9.418 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.3899, allocations: 63.88 kB / 1.352 GB, free: 9.355 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.3902, allocations: 21.83 kB / 1.352 GB, free: 9.336 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.3928, allocations: 1.653 MB / 1.354 GB, free: 7.59 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.3932, allocations: 0.6963 MB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.698e-05/0.3932, allocations: 11.98 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.3933, allocations: 27.44 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.3933, allocations: 0 / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.4184, allocations: 2.608 MB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.03, allocations: 12 kB / 1.357 GB, free: 4.406 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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: 19.164106957032345]