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.001331/0.001331, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001605/0.001605, allocations: 215 kB / 20.13 MB, free: 2.949 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.616/1.616, 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.123/3.123, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 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.PIDIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="cs",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="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.002368/0.002368, allocations: 63.91 kB / 1.165 GB, free: 460 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236/1.239, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002607/1.241, allocations: 0.8585 MB / 1.341 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001266/1.243, allocations: 0.8795 MB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/1.243, allocations: 1.5 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.039e-05/1.243, allocations: 10.08 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/1.243, allocations: 16.39 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.077e-05/1.243, allocations: 37.36 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/1.243, allocations: 101.5 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/1.243, allocations: 49.67 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.879e-05/1.243, allocations: 44.34 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/1.243, allocations: 53.03 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/1.244, allocations: 12.06 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/1.244, allocations: 11.22 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/1.244, allocations: 26.58 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/1.244, allocations: 45.44 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/1.244, allocations: 146.6 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.244, allocations: 0 / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.405e-06/1.244, allocations: 5.094 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.244, allocations: 0 / 1.342 GB, free: 14.75 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006411/1.245, allocations: 416.8 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.245, allocations: 10.62 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.482e-05/1.245, allocations: 3 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/1.245, allocations: 39.92 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/1.245, allocations: 14.41 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/1.245, allocations: 195 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/1.245, allocations: 12.03 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/1.245, allocations: 18.91 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/1.245, allocations: 119.5 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.245, allocations: 3.984 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/1.245, allocations: 5.188 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/1.245, allocations: 3.625 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/1.246, allocations: 113.9 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/1.246, allocations: 395.7 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/1.247, allocations: 108.6 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/1.247, allocations: 66.83 kB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/1.247, allocations: 0 / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/1.247, allocations: 33.84 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/1.247, allocations: 0 / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006535/1.248, allocations: 184.5 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/1.248, allocations: 53.58 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/1.248, allocations: 124.3 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/1.248, allocations: 25.7 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/1.248, allocations: 109.5 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/1.248, allocations: 28.56 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/1.248, allocations: 20.58 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/1.248, allocations: 328.3 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/1.248, allocations: 41.88 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/1.248, allocations: 42.44 kB / 1.345 GB, free: 12.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/1.249, allocations: 103.5 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.249, allocations: 0 / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003879/1.249, allocations: 138.1 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.249, allocations: 5.5 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.249, allocations: 4.5 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.249, allocations: 1.375 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/1.249, allocations: 33.58 kB / 1.345 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.984e-06/1.249, allocations: 0.6094 kB / 1.345 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.274e-05/1.249, allocations: 16.64 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/1.249, allocations: 5.281 kB / 1.345 GB, free: 12.64 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 (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 7.66e-05/1.249, allocations: 120.3 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/1.249, allocations: 5.984 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/1.249, allocations: 14.69 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/1.249, allocations: 2.141 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.249, allocations: 4 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.249, allocations: 2.016 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/1.25, allocations: 202.8 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.25, allocations: 0 / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/1.25, allocations: 29.8 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.25, allocations: 1.094 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/1.25, allocations: 4.5 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.25, allocations: 1.031 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.25, allocations: 0 / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/1.25, allocations: 237.5 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/1.25, allocations: 82.8 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/1.25, allocations: 5.688 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/1.25, allocations: 15.84 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/1.25, allocations: 14 kB / 1.346 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/1.25, allocations: 6.688 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.409e-05/1.251, allocations: 94.89 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.251, allocations: 3.938 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002332/1.251, allocations: 25.17 kB / 1.346 GB, free: 11.91 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 (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.0006549/1.251, allocations: 0.7755 MB / 1.347 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004351/1.252, allocations: 102.6 kB / 1.347 GB, free: 11.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.252, allocations: 1.031 kB / 1.347 GB, free: 11.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/1.252, allocations: 53.73 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/1.252, allocations: 17.2 kB / 1.347 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/1.254, allocations: 1.567 MB / 1.348 GB, free: 9.863 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/1.254, allocations: 0.7008 MB / 1.349 GB, free: 9.164 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.018e-05/1.255, allocations: 8.062 kB / 1.349 GB, free: 9.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/1.255, allocations: 27.75 kB / 1.349 GB, free: 9.141 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/1.255, allocations: 0 / 1.349 GB, free: 9.141 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/1.275, allocations: 2.252 MB / 1.351 GB, free: 8.754 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/9.705, allocations: 4.656 kB / 1.351 GB, free: 8.754 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.70209050201811]