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.001673/0.001673, allocations: 116.1 kB / 17.17 MB, free: 6 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.002113/0.002113, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.597/1.597, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.067/3.067, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 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.001924/0.001924, allocations: 71.84 kB / 1.165 GB, free: 468 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.167, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002867/1.17, allocations: 0.9816 MB / 1.341 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001425/1.171, allocations: 0.8992 MB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.139e-05/1.171, allocations: 2.75 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.194e-05/1.171, allocations: 19 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/1.171, allocations: 18.56 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/1.171, allocations: 48.56 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/1.172, allocations: 156.4 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/1.172, allocations: 73.53 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/1.172, allocations: 66.89 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/1.172, allocations: 67.45 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/1.172, allocations: 17.44 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.083e-05/1.172, allocations: 17.97 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/1.172, allocations: 37.89 kB / 1.343 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.528e-05/1.172, allocations: 70.53 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/1.173, allocations: 219.4 kB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.173, allocations: 0.5625 kB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.805e-06/1.173, allocations: 0 / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.615e-06/1.173, allocations: 0 / 1.343 GB, free: 14.55 MB / 1.061 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.0007046/1.173, allocations: 454.6 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.173, allocations: 14.72 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/1.173, allocations: 4.547 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/1.173, allocations: 47.69 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/1.173, allocations: 16 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/1.174, allocations: 212 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/1.174, allocations: 17.5 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/1.174, allocations: 14.84 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/1.174, allocations: 165.6 kB / 1.344 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.174, allocations: 4.594 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/1.174, allocations: 6.406 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.174, allocations: 2.656 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/1.175, allocations: 147 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/1.175, allocations: 0.4943 MB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/1.176, allocations: 150.1 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/1.176, allocations: 80.38 kB / 1.345 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/1.176, allocations: 5.531 kB / 1.345 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/1.176, allocations: 33.03 kB / 1.345 GB, free: 13.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/1.176, allocations: 0 / 1.345 GB, free: 13.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0007118/1.177, allocations: 225.9 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/1.177, allocations: 54.58 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/1.177, allocations: 122.5 kB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/1.177, allocations: 29.7 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/1.177, allocations: 120.9 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/1.177, allocations: 47.86 kB / 1.345 GB, free: 12.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/1.177, allocations: 23.41 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.291e-05/1.177, allocations: 324.6 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/1.177, allocations: 56.17 kB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/1.178, allocations: 59.64 kB / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/1.178, allocations: 129.9 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.178, allocations: 4 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004186/1.178, allocations: 160.5 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.178, allocations: 6.156 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.178, allocations: 0 / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.178, allocations: 1.375 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/1.179, allocations: 35.75 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.179, allocations: 5.375 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/1.179, allocations: 19.64 kB / 1.346 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/1.179, allocations: 2.75 kB / 1.346 GB, free: 12.24 MB / 1.061 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 9.265e-05/1.179, allocations: 129.4 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/1.179, allocations: 12.03 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/1.179, allocations: 14.67 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.179, allocations: 2.172 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.179, allocations: 0 / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.179, allocations: 5.938 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/1.179, allocations: 242 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.179, allocations: 0 / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/1.179, allocations: 39.38 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.179, allocations: 1.375 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/1.179, allocations: 1.375 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.179, allocations: 0 / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.179, allocations: 6.109 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/1.18, allocations: 265.2 kB / 1.347 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/1.18, allocations: 89.92 kB / 1.347 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/1.18, allocations: 4 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/1.18, allocations: 17.11 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/1.18, allocations: 11.83 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/1.18, allocations: 7.359 kB / 1.347 GB, free: 11.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.135e-05/1.18, allocations: 96.12 kB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.18, allocations: 0 / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002468/1.18, allocations: 30.36 kB / 1.347 GB, free: 11.47 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 (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.0006535/1.181, allocations: 0.8163 MB / 1.348 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000464/1.182, allocations: 131.7 kB / 1.348 GB, free: 10.72 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.182, allocations: 0 / 1.348 GB, free: 10.72 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/1.182, allocations: 72.5 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/1.182, allocations: 16.97 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/1.184, allocations: 1.719 MB / 1.35 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/1.184, allocations: 0.7089 MB / 1.35 GB, free: 8.625 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.476e-05/1.184, allocations: 15.06 kB / 1.35 GB, free: 8.617 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/1.185, allocations: 36.52 kB / 1.35 GB, free: 8.59 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/1.185, allocations: 1 kB / 1.35 GB, free: 8.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/1.204, allocations: 2.509 MB / 1.353 GB, free: 8.195 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/9.689, allocations: 13.72 kB / 1.353 GB, free: 8.188 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.666281434998382]