Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001319/0.001319, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001637/0.001637, allocations: 218.7 kB / 22.25 MB, free: 5.254 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.809 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.318/3.318, allocations: 0.505 GB / 0.8101 GB, free: 23.57 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.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="me",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.002833/0.002833, allocations: 67.8 kB / 1.177 GB, free: 16.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3901, allocations: 180.2 MB / 1.353 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002866/0.393, allocations: 1.129 MB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3946, allocations: 0.9995 MB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.3947, allocations: 4 kB / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.313e-05/0.3948, allocations: 27.66 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.395, allocations: 43.53 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3952, allocations: 99.91 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.3956, allocations: 303.4 kB / 1.355 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.3959, allocations: 146 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.3961, allocations: 115.6 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.3962, allocations: 127.4 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.3963, allocations: 32 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-05/0.3964, allocations: 36 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.3964, allocations: 63.84 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.3966, allocations: 107.5 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.397, allocations: 446.5 kB / 1.356 GB, free: 4.316 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3971, allocations: 0 / 1.356 GB, free: 4.316 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3971, allocations: 0 / 1.356 GB, free: 4.316 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.3971, allocations: 4 kB / 1.356 GB, free: 4.312 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009474/0.398, allocations: 487.6 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3981, allocations: 12.03 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.563e-05/0.3981, allocations: 62.72 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.3982, allocations: 24.8 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.3985, allocations: 202.8 kB / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.3985, allocations: 25.03 kB / 1.357 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.3986, allocations: 24.38 kB / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.3991, allocations: 262.6 kB / 1.357 GB, free: 3.164 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3992, allocations: 7.922 kB / 1.357 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.3992, allocations: 12 kB / 1.357 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.3992, allocations: 4 kB / 1.357 GB, free: 3.141 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.3999, allocations: 234.5 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.401, allocations: 0.6439 MB / 1.358 GB, free: 2.227 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.4015, allocations: 214.7 kB / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.4018, allocations: 104.8 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.4018, allocations: 4 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.4019, allocations: 34.55 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.4019, allocations: 7.938 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0009245/0.4028, allocations: 311.4 kB / 1.359 GB, free: 1.539 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.4029, allocations: 59.39 kB / 1.359 GB, free: 1.469 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.403, allocations: 147 kB / 1.359 GB, free: 1.316 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.403, allocations: 25.7 kB / 1.359 GB, free: 1.285 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.4031, allocations: 152.6 kB / 1.359 GB, free: 1.129 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.4032, allocations: 75.38 kB / 1.359 GB, free: 1.055 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.4033, allocations: 29.72 kB / 1.359 GB, free: 1.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4034, allocations: 330.8 kB / 1.36 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.4037, allocations: 79.88 kB / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.404, allocations: 107.3 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.4045, allocations: 191.4 kB / 1.36 GB, free: 316 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4045, allocations: 0 / 1.36 GB, free: 316 kB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005887/0.4051, allocations: 241.4 kB / 1.36 GB, free: 68 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4051, allocations: 4 kB / 1.36 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4051, allocations: 0 / 1.36 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4051, allocations: 4 kB / 1.36 GB, free: 60 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.4054, allocations: 59.86 kB / 1.36 GB, free: 0 / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/0.4054, allocations: 4.047 kB / 1.36 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.4055, allocations: 31.81 kB / 1.36 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.4056, allocations: 4 kB / 1.36 GB, free: 15.96 MB / 1.061 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 (21): * Single equations (assignments): 21 * 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.0001467/0.4057, allocations: 149.7 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.4057, allocations: 11.91 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.4058, allocations: 21.12 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4058, allocations: 3.938 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4058, allocations: 4 kB / 1.361 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4058, allocations: 7.984 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.4061, allocations: 256.6 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4061, allocations: 0 / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.4064, allocations: 55.95 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4064, allocations: 0 / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4064, allocations: 0 / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4064, allocations: 3.938 kB / 1.361 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4064, allocations: 7.938 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.4071, allocations: 333 kB / 1.361 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.4071, allocations: 11.91 kB / 1.361 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.4071, allocations: 11.94 kB / 1.361 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.4073, allocations: 19.91 kB / 1.361 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.4074, allocations: 19.97 kB / 1.361 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.4074, allocations: 12 kB / 1.361 GB, free: 14.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.685e-05/0.4074, allocations: 109.1 kB / 1.361 GB, free: 14.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4074, allocations: 0 / 1.361 GB, free: 14.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002709/0.4077, allocations: 51.78 kB / 1.361 GB, free: 14.82 MB / 1.061 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 (20): * Single equations (assignments): 20 * 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.0009919/0.4087, allocations: 0.8719 MB / 1.362 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000589/0.4093, allocations: 191.8 kB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4093, allocations: 0 / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.4096, allocations: 105 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.41, allocations: 32.92 kB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.4134, allocations: 2.108 MB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.4135, allocations: 137.6 kB / 1.365 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.984e-05/0.4136, allocations: 13.42 kB / 1.365 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.4138, allocations: 59.42 kB / 1.365 GB, free: 11.19 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/0.4138, allocations: 4 kB / 1.365 GB, free: 11.19 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.4469, allocations: 4.005 MB / 1.369 GB, free: 7.363 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.7, allocations: 6.312 kB / 1.369 GB, free: 7.359 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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: 18.71173591099796]