Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00134/0.00134, 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.001925/0.001925, allocations: 215.2 kB / 22.25 MB, free: 5.258 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.334/3.334, allocations: 0.49 GB / 0.7951 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",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.002079/0.002079, allocations: 64.98 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3391, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002213/0.3413, allocations: 0.8346 MB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3424, allocations: 0.8782 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.3425, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.3425, allocations: 11.88 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.784e-05/0.3426, allocations: 23.78 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.079e-05/0.3427, allocations: 31.97 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3429, allocations: 115.8 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.343, allocations: 37.28 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.882e-05/0.3431, allocations: 43.8 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.3432, allocations: 51.77 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.3432, allocations: 12 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.828e-05/0.3432, allocations: 12 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.3433, allocations: 27.91 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.3433, allocations: 47.78 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.3435, allocations: 135.7 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3435, allocations: 3.938 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3435, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3435, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 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.0006702/0.3442, allocations: 354 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3442, allocations: 19.97 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.3443, allocations: 34.75 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.3443, allocations: 12.89 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.3447, allocations: 146.5 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3447, allocations: 4.562 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3447, allocations: 12.38 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.3451, allocations: 130.6 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3451, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3451, allocations: 3.984 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.3451, allocations: 8 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.3456, allocations: 123.9 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/0.3462, allocations: 351.7 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.3467, allocations: 98.64 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.3469, allocations: 72.72 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.3469, allocations: 3.938 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.347, allocations: 30.56 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.347, allocations: 4 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0007528/0.3477, allocations: 205.5 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.3478, allocations: 51.41 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3479, allocations: 136.7 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3479, allocations: 29.7 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.348, allocations: 112 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.348, allocations: 27.75 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.3481, allocations: 17.72 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3482, allocations: 322.8 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.3485, allocations: 55.88 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.3487, allocations: 69.66 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.3491, allocations: 125.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3491, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004965/0.3496, allocations: 161.8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3496, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3496, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3496, allocations: 7.938 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.3498, allocations: 32 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3498, allocations: 4.016 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.35, allocations: 23.97 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.35, allocations: 3.984 kB / 1.331 GB, free: 12.27 MB / 1.029 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.0001023/0.3501, allocations: 123.4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.3501, allocations: 11.95 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.3501, allocations: 12.7 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3501, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.3502, allocations: 7.938 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3502, allocations: 4 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.3504, allocations: 160.7 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3504, allocations: 0 / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.3505, allocations: 31.95 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3505, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3506, allocations: 8 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3506, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.3506, allocations: 7.938 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.3511, allocations: 259.5 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.3511, allocations: 11.89 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.3511, allocations: 3.938 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.3513, allocations: 19.97 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.3513, allocations: 11.92 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.3514, allocations: 0 / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.138e-05/0.3514, allocations: 107.3 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3514, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002381/0.3517, allocations: 16 kB / 1.332 GB, free: 11.41 MB / 1.029 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.00086/0.3525, allocations: 0.7748 MB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004787/0.353, allocations: 131.9 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.353, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.3532, allocations: 63.88 kB / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3536, allocations: 27.94 kB / 1.332 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.3562, allocations: 1.637 MB / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.974e-05/0.3563, allocations: 88.89 kB / 1.334 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.676e-05/0.3564, allocations: 7.938 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.3564, allocations: 31.42 kB / 1.334 GB, free: 8.531 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3564, allocations: 4 kB / 1.334 GB, free: 8.527 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.3866, allocations: 3.104 MB / 1.337 GB, free: 5.609 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.58, allocations: 14.23 kB / 1.337 GB, free: 5.598 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.456521676009288]