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.001295/0.001295, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00151/0.00151, allocations: 220.3 kB / 23.03 MB, free: 4.945 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.398/3.398, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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="cs",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="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.002183/0.002183, allocations: 68 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.402, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.00365/0.4056, allocations: 1.133 MB / 1.346 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.4072, allocations: 1.003 MB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.4074, allocations: 0 / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.4075, allocations: 31.66 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.4078, allocations: 31.59 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.408, allocations: 99.91 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000478/0.4085, allocations: 307.4 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.4089, allocations: 146 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.4091, allocations: 119.6 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.4093, allocations: 119.5 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.865e-05/0.4094, allocations: 36 kB / 1.348 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-05/0.4095, allocations: 39.94 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.94e-05/0.4095, allocations: 59.84 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.4097, allocations: 99.53 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.4102, allocations: 454.5 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4102, allocations: 0 / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4102, allocations: 3.938 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4102, allocations: 4 kB / 1.349 GB, free: 12.29 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.001015/0.4112, allocations: 485.8 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4113, allocations: 8.031 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.404e-05/0.4113, allocations: 8.844 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.986e-05/0.4114, allocations: 62.72 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.4114, allocations: 24.8 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.4118, allocations: 206.8 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.4118, allocations: 21.03 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.4118, allocations: 28.31 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.4125, allocations: 262.4 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4125, allocations: 0 / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.4125, allocations: 12 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.4125, allocations: 4 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006718/0.4132, allocations: 242.5 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.4144, allocations: 0.6439 MB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006445/0.415, allocations: 208.7 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.4154, allocations: 109.8 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.4154, allocations: 4 kB / 1.351 GB, free: 9.867 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.4154, allocations: 42.55 kB / 1.351 GB, free: 9.816 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 2.285e-06/0.4154, allocations: 0 / 1.351 GB, free: 9.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0009452/0.4164, allocations: 315 kB / 1.351 GB, free: 9.504 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.4164, allocations: 63.39 kB / 1.352 GB, free: 9.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.4165, allocations: 139.5 kB / 1.352 GB, free: 9.285 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4166, allocations: 29.7 kB / 1.352 GB, free: 9.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.4167, allocations: 152.6 kB / 1.352 GB, free: 9.098 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.4168, allocations: 71.38 kB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.4168, allocations: 37.7 kB / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.417, allocations: 322.8 kB / 1.352 GB, free: 8.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.4172, allocations: 79.94 kB / 1.352 GB, free: 8.582 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.4175, allocations: 107.3 kB / 1.352 GB, free: 8.473 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.418, allocations: 187.1 kB / 1.353 GB, free: 8.285 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.418, allocations: 4 kB / 1.353 GB, free: 8.281 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000655/0.4187, allocations: 243.1 kB / 1.353 GB, free: 8.039 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4187, allocations: 4 kB / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4187, allocations: 7.875 kB / 1.353 GB, free: 8.027 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.4187, allocations: 7.938 kB / 1.353 GB, free: 8.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.419, allocations: 55.98 kB / 1.353 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.419, allocations: 4 kB / 1.353 GB, free: 7.961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.4192, allocations: 31.86 kB / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.4192, allocations: 4 kB / 1.353 GB, free: 7.926 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 (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.0001496/0.4193, allocations: 141.8 kB / 1.353 GB, free: 7.777 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.4194, allocations: 11.91 kB / 1.353 GB, free: 7.766 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.4194, allocations: 21.12 kB / 1.353 GB, free: 7.738 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4194, allocations: 11.94 kB / 1.353 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4194, allocations: 0 / 1.353 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4195, allocations: 3.984 kB / 1.353 GB, free: 7.723 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.4198, allocations: 248.6 kB / 1.353 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4198, allocations: 0 / 1.353 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.4201, allocations: 51.95 kB / 1.353 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4201, allocations: 3.938 kB / 1.353 GB, free: 7.383 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.4201, allocations: 4 kB / 1.353 GB, free: 7.379 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4201, allocations: 3.938 kB / 1.353 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4201, allocations: 8 kB / 1.353 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006612/0.4208, allocations: 329 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.4208, allocations: 15.91 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.4208, allocations: 4 kB / 1.354 GB, free: 7.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.421, allocations: 31.84 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.4211, allocations: 19.97 kB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.4211, allocations: 4 kB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.446e-05/0.4212, allocations: 108.6 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4212, allocations: 0 / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002996/0.4215, allocations: 55.78 kB / 1.354 GB, free: 6.797 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 (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.001052/0.4225, allocations: 0.8645 MB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00063/0.4231, allocations: 197.7 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4231, allocations: 0 / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.4234, allocations: 103.9 kB / 1.355 GB, free: 5.613 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.4239, allocations: 27.98 kB / 1.355 GB, free: 5.586 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.4273, allocations: 2.119 MB / 1.357 GB, free: 3.383 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.4274, allocations: 137.5 kB / 1.357 GB, free: 3.23 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.4275, allocations: 17.42 kB / 1.357 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.4277, allocations: 63.41 kB / 1.357 GB, free: 3.148 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.4277, allocations: 0 / 1.357 GB, free: 3.148 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.4531, allocations: 3.618 MB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.13, allocations: 9.969 kB / 1.361 GB, free: 15.73 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: 19.230628371005878]