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.001317/0.001317, allocations: 100.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.001396/0.001396, allocations: 221.9 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.532/1.532, 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.352/3.352, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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.PIIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="cs",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="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.00201/0.00201, allocations: 66.2 kB / 1.171 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4337, 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.BaseClasses.Validation.PIIntegralTime): time 0.002614/0.4363, allocations: 0.9057 MB / 1.346 GB, free: 15.06 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.4376, allocations: 0.9016 MB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.4378, allocations: 3.938 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.399e-05/0.4378, allocations: 11.81 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.438, allocations: 23.8 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.4381, allocations: 47.95 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.4383, allocations: 152.2 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.4386, allocations: 77.36 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.4387, allocations: 63.78 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.971e-05/0.4388, allocations: 67.69 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.4388, allocations: 19.94 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.358e-05/0.4388, allocations: 20 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.4389, allocations: 31.92 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.4389, allocations: 55.72 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.4392, allocations: 219.1 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4392, allocations: 3.938 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4392, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.4392, allocations: 0 / 1.348 GB, free: 13.36 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007531/0.44, allocations: 382.7 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.44, allocations: 8.031 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.404e-05/0.4401, allocations: 4.188 kB / 1.348 GB, free: 12.94 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.579e-05/0.4401, allocations: 50.73 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.4402, allocations: 20.84 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.4404, allocations: 158.3 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.4404, allocations: 12.38 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.4405, allocations: 12.38 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.4409, allocations: 161.9 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4409, allocations: 0 / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.4409, allocations: 8 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.4409, allocations: 4 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.4413, allocations: 147.6 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.4421, allocations: 443.3 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.4426, allocations: 150.6 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.4428, allocations: 76.81 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4428, allocations: 7.938 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4428, allocations: 38.56 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.4428, allocations: 0 / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0006855/0.4435, allocations: 219.3 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.4436, allocations: 55.41 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.4437, allocations: 113.8 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4437, allocations: 33.7 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.4438, allocations: 124.2 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.4439, allocations: 47.59 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.4439, allocations: 25.97 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4441, allocations: 322.8 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.4443, allocations: 59.95 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.4444, allocations: 55.95 kB / 1.35 GB, free: 10.49 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.4448, allocations: 123.5 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4448, allocations: 0 / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004215/0.4452, allocations: 169.5 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4452, allocations: 4 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4452, allocations: 0 / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4452, allocations: 0 / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.4454, allocations: 35.97 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4454, allocations: 4 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.4455, allocations: 19.88 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4456, allocations: 8 kB / 1.351 GB, free: 10.12 MB / 1.045 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 0.0001248/0.4457, allocations: 129.7 kB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.4457, allocations: 11.94 kB / 1.351 GB, free: 9.977 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.4458, allocations: 12.44 kB / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4458, allocations: 4 kB / 1.351 GB, free: 9.961 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.4458, allocations: 3.984 kB / 1.351 GB, free: 9.957 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4458, allocations: 0 / 1.351 GB, free: 9.957 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.446, allocations: 200.6 kB / 1.351 GB, free: 9.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4461, allocations: 0 / 1.351 GB, free: 9.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.4462, allocations: 39.97 kB / 1.351 GB, free: 9.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4462, allocations: 0 / 1.351 GB, free: 9.68 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.4463, allocations: 4 kB / 1.351 GB, free: 9.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4463, allocations: 3.984 kB / 1.351 GB, free: 9.672 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4463, allocations: 4 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.4467, allocations: 263.3 kB / 1.351 GB, free: 9.395 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.4468, allocations: 15.84 kB / 1.351 GB, free: 9.379 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.4468, allocations: 4 kB / 1.351 GB, free: 9.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.4469, allocations: 15.98 kB / 1.351 GB, free: 9.359 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/0.447, allocations: 15.97 kB / 1.351 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.447, allocations: 4 kB / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.838e-05/0.4471, allocations: 99.14 kB / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4471, allocations: 0 / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002733/0.4473, allocations: 27.95 kB / 1.352 GB, free: 9.215 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 (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.0008253/0.4482, allocations: 0.8055 MB / 1.352 GB, free: 8.387 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004271/0.4486, allocations: 123.9 kB / 1.353 GB, free: 8.266 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4486, allocations: 4 kB / 1.353 GB, free: 8.262 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.4488, allocations: 67.89 kB / 1.353 GB, free: 8.195 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.4492, allocations: 29.36 kB / 1.353 GB, free: 8.168 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.452, allocations: 1.701 MB / 1.354 GB, free: 6.379 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.4521, allocations: 105.3 kB / 1.354 GB, free: 6.254 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.969e-05/0.4522, allocations: 16.34 kB / 1.354 GB, free: 6.238 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4523, allocations: 43.42 kB / 1.354 GB, free: 6.195 MB / 1.045 GB Notification: Performance of SimCode: time 5.01e-07/0.4523, allocations: 0 / 1.354 GB, free: 6.195 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.4783, allocations: 2.673 MB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.75, allocations: 6.938 kB / 1.357 GB, free: 3.723 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/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: 19.0682522499701]