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.PIDIntegralTime.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.001366/0.001366, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00149/0.00149, allocations: 216 kB / 22.26 MB, free: 5.113 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: 8.012 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.427/3.427, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.PIDIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",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.002191/0.002191, allocations: 69.59 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.414, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002577/0.4166, allocations: 0.8583 MB / 1.354 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.418, allocations: 0.8705 MB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.4181, allocations: 0 / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.479e-05/0.4181, allocations: 19.8 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.4182, allocations: 19.86 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.572e-05/0.4183, allocations: 35.95 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.4185, allocations: 103.8 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.4187, allocations: 46.44 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.4188, allocations: 43.86 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.4189, allocations: 43.77 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.4189, allocations: 15.98 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.4189, allocations: 15.94 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.4189, allocations: 23.92 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.098e-05/0.419, allocations: 55.73 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.4192, allocations: 135.7 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4192, allocations: 0 / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4192, allocations: 4 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.4192, allocations: 3.938 kB / 1.355 GB, free: 6.148 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006955/0.4199, allocations: 341.9 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.42, allocations: 12.03 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.158e-05/0.42, allocations: 46.73 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.4201, allocations: 16.84 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.4203, allocations: 134.4 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.4203, allocations: 8.375 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.4204, allocations: 8.375 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.4207, allocations: 123 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4207, allocations: 3.938 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4208, allocations: 8 kB / 1.356 GB, free: 5.391 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4208, allocations: 3.938 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.4211, allocations: 111.8 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.4218, allocations: 359.6 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.4221, allocations: 110.8 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.4223, allocations: 64.75 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.4224, allocations: 0 / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.4224, allocations: 46.53 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.4224, allocations: 0 / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006161/0.423, allocations: 189.3 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.4231, allocations: 55.41 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.4232, allocations: 113.8 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.4232, allocations: 33.7 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.4233, allocations: 104 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.4233, allocations: 31.73 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.4233, allocations: 21.72 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4235, allocations: 314.8 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.4237, allocations: 43.95 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.4238, allocations: 47.95 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.4241, allocations: 104.7 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4241, allocations: 3.938 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003794/0.4245, allocations: 133.5 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4245, allocations: 8 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4245, allocations: 0.6562 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4245, allocations: 3.938 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.4247, allocations: 27.97 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4247, allocations: 0 / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.024e-05/0.4248, allocations: 15.98 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4248, allocations: 0 / 1.358 GB, free: 3.355 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 (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.0001042/0.4249, allocations: 121.8 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.4249, allocations: 11.89 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.425, allocations: 24.3 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.425, allocations: 0 / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.425, allocations: 0 / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.425, allocations: 3.938 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.4252, allocations: 180.6 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4252, allocations: 0 / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.4254, allocations: 27.98 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4254, allocations: 0 / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.4254, allocations: 7.938 kB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4254, allocations: 0 / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.4254, allocations: 7.984 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.4258, allocations: 231.4 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.4259, allocations: 7.953 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.4259, allocations: 7.938 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.426, allocations: 11.97 kB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.4261, allocations: 11.98 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.4261, allocations: 4 kB / 1.358 GB, free: 2.637 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000154/0.4263, allocations: 87.28 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4263, allocations: 0 / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002623/0.4265, allocations: 19.94 kB / 1.358 GB, free: 2.531 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 (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 Backend phase and start with SimCode phase: time 0.0009643/0.4275, allocations: 0.767 MB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.4279, allocations: 111.9 kB / 1.359 GB, free: 1.629 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4279, allocations: 3.938 kB / 1.359 GB, free: 1.625 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.4281, allocations: 59.89 kB / 1.359 GB, free: 1.566 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.4285, allocations: 15.98 kB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.431, allocations: 1.561 MB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.4314, allocations: 0.7041 MB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.936e-05/0.4314, allocations: 0 / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.4315, allocations: 27.42 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.4315, allocations: 0 / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.4633, allocations: 2.303 MB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.7, allocations: 5.375 kB / 1.364 GB, free: 13.02 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.77964628394693]