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.PIGain.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.001309/0.001309, 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.00152/0.00152, 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.566/1.566, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.094/3.094, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 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.PIGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",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.001985/0.001985, allocations: 73.3 kB / 1.165 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244/1.246, allocations: 178.9 MB / 1.34 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.003084/1.249, allocations: 1.006 MB / 1.341 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001787/1.251, allocations: 0.915 MB / 1.342 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/1.251, allocations: 6.188 kB / 1.342 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.166e-05/1.251, allocations: 19.73 kB / 1.342 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/1.251, allocations: 18.25 kB / 1.342 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/1.252, allocations: 58.03 kB / 1.342 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003223/1.252, allocations: 168.7 kB / 1.342 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/1.252, allocations: 71.69 kB / 1.342 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/1.252, allocations: 72.59 kB / 1.342 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/1.252, allocations: 74.06 kB / 1.343 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/1.253, allocations: 17.91 kB / 1.343 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.632e-05/1.253, allocations: 23.91 kB / 1.343 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/1.253, allocations: 39.92 kB / 1.343 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/1.253, allocations: 76.94 kB / 1.343 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003304/1.253, allocations: 217.7 kB / 1.343 GB, free: 11.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.253, allocations: 1.344 kB / 1.343 GB, free: 11.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.314e-06/1.253, allocations: 3.938 kB / 1.343 GB, free: 11.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.789e-06/1.253, allocations: 0 / 1.343 GB, free: 11.62 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009635/1.254, allocations: 478 kB / 1.343 GB, free: 11.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/1.254, allocations: 10.78 kB / 1.343 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.644e-05/1.254, allocations: 4.234 kB / 1.343 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.486e-05/1.254, allocations: 52.42 kB / 1.343 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/1.254, allocations: 20.77 kB / 1.343 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/1.255, allocations: 215.4 kB / 1.344 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/1.255, allocations: 14.92 kB / 1.344 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/1.255, allocations: 15.19 kB / 1.344 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/1.255, allocations: 189.8 kB / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.255, allocations: 0 / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/1.255, allocations: 10.16 kB / 1.344 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/1.255, allocations: 4.188 kB / 1.344 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005961/1.256, allocations: 172.5 kB / 1.344 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009327/1.257, allocations: 0.5143 MB / 1.345 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/1.257, allocations: 131.4 kB / 1.345 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/1.257, allocations: 87.25 kB / 1.345 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/1.257, allocations: 1.25 kB / 1.345 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/1.257, allocations: 35.53 kB / 1.345 GB, free: 10 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/1.257, allocations: 1.125 kB / 1.345 GB, free: 10 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.000946/1.258, allocations: 252.8 kB / 1.345 GB, free: 9.867 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/1.258, allocations: 53.31 kB / 1.345 GB, free: 9.805 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/1.259, allocations: 132 kB / 1.345 GB, free: 9.684 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/1.259, allocations: 25.7 kB / 1.345 GB, free: 9.652 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.259, allocations: 128.2 kB / 1.345 GB, free: 9.531 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/1.259, allocations: 52.88 kB / 1.345 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.766e-05/1.259, allocations: 30.2 kB / 1.345 GB, free: 9.457 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.259, allocations: 329.2 kB / 1.346 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/1.259, allocations: 68.75 kB / 1.346 GB, free: 9.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/1.26, allocations: 85.98 kB / 1.346 GB, free: 9.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/1.26, allocations: 174.1 kB / 1.346 GB, free: 8.941 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.26, allocations: 1.125 kB / 1.346 GB, free: 8.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006359/1.261, allocations: 199.3 kB / 1.346 GB, free: 8.832 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.261, allocations: 7.125 kB / 1.346 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.261, allocations: 1.031 kB / 1.346 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/1.261, allocations: 5.531 kB / 1.346 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/1.261, allocations: 40.16 kB / 1.346 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.261, allocations: 6.062 kB / 1.346 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/1.261, allocations: 31.8 kB / 1.346 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/1.261, allocations: 2.844 kB / 1.346 GB, free: 8.793 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001449/1.261, allocations: 128.5 kB / 1.346 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/1.261, allocations: 9.203 kB / 1.346 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/1.261, allocations: 18.23 kB / 1.346 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.261, allocations: 1.469 kB / 1.346 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.261, allocations: 1.125 kB / 1.346 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.261, allocations: 4 kB / 1.346 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/1.262, allocations: 245.8 kB / 1.347 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.262, allocations: 0 / 1.347 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/1.262, allocations: 37.22 kB / 1.347 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/1.262, allocations: 1.156 kB / 1.347 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/1.262, allocations: 5.125 kB / 1.347 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.262, allocations: 0 / 1.347 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.262, allocations: 1.312 kB / 1.347 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/1.263, allocations: 288.8 kB / 1.347 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/1.263, allocations: 87.5 kB / 1.347 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/1.263, allocations: 5.281 kB / 1.347 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/1.263, allocations: 22 kB / 1.347 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/1.263, allocations: 12.83 kB / 1.347 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/1.263, allocations: 2.562 kB / 1.347 GB, free: 8.031 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.681e-05/1.263, allocations: 101.7 kB / 1.347 GB, free: 7.945 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/1.263, allocations: 0 / 1.347 GB, free: 7.945 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002963/1.264, allocations: 36.83 kB / 1.347 GB, free: 7.93 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 (13): * Single equations (assignments): 13 * 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.001091/1.265, allocations: 0.8258 MB / 1.348 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006381/1.265, allocations: 156.1 kB / 1.348 GB, free: 7.121 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.265, allocations: 0 / 1.348 GB, free: 7.121 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/1.266, allocations: 85.73 kB / 1.348 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/1.266, allocations: 24.28 kB / 1.348 GB, free: 7.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/1.27, allocations: 1.842 MB / 1.35 GB, free: 5.516 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/1.27, allocations: 0.7124 MB / 1.351 GB, free: 4.805 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.928e-05/1.27, allocations: 15.98 kB / 1.351 GB, free: 4.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/1.27, allocations: 41.2 kB / 1.351 GB, free: 4.758 MB / 1.029 GB Notification: Performance of SimCode: time 8.42e-07/1.27, allocations: 0 / 1.351 GB, free: 4.758 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/1.295, allocations: 2.789 MB / 1.354 GB, free: 3.418 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/9.711, allocations: 2.375 kB / 1.354 GB, free: 3.418 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.632201878994238]