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.PIDGain.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.001624/0.001624, allocations: 116.8 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.001911/0.001911, allocations: 214.3 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.592/1.592, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.143/3.143, allocations: 0.5003 GB / 0.8026 GB, free: 6.75 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.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",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.002064/0.002064, allocations: 63.91 kB / 1.165 GB, free: 496 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.153, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002908/1.156, allocations: 0.8775 MB / 1.341 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001318/1.157, allocations: 0.8773 MB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/1.157, allocations: 1.219 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.74e-05/1.157, allocations: 10.03 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/1.158, allocations: 19.48 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.699e-05/1.158, allocations: 39.17 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/1.158, allocations: 113.5 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/1.158, allocations: 34.45 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/1.158, allocations: 58.7 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.497e-05/1.158, allocations: 51.22 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/1.158, allocations: 11.72 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.068e-05/1.158, allocations: 10.16 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/1.158, allocations: 23.94 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/1.158, allocations: 46.56 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/1.159, allocations: 135.9 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.159, allocations: 5.188 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.864e-06/1.159, allocations: 0 / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.159, allocations: 0 / 1.342 GB, free: 14.76 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007071/1.159, allocations: 436.5 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.159, allocations: 13.38 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.678e-05/1.159, allocations: 7.25 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/1.159, allocations: 40.14 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/1.159, allocations: 10.17 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/1.16, allocations: 201.1 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/1.16, allocations: 11.94 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/1.16, allocations: 9.656 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/1.16, allocations: 127.6 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.16, allocations: 0 / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/1.16, allocations: 5.219 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/1.16, allocations: 2.344 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/1.161, allocations: 128.7 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/1.161, allocations: 398 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/1.162, allocations: 105.2 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/1.162, allocations: 68.89 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/1.162, allocations: 4.656 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/1.162, allocations: 32.34 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.994e-06/1.162, allocations: 3.984 kB / 1.344 GB, free: 13.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0008546/1.163, allocations: 205.2 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/1.163, allocations: 57.33 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.163, allocations: 126.2 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/1.163, allocations: 31.69 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/1.163, allocations: 107.9 kB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/1.163, allocations: 30.22 kB / 1.344 GB, free: 13.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/1.163, allocations: 20.44 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/1.163, allocations: 322.8 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/1.164, allocations: 57.52 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/1.164, allocations: 65.72 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/1.164, allocations: 127.8 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.164, allocations: 0 / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006106/1.165, allocations: 165.4 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.165, allocations: 5.5 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.165, allocations: 0.5625 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/1.165, allocations: 1.312 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/1.165, allocations: 33.77 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/1.165, allocations: 6.422 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/1.165, allocations: 28.61 kB / 1.345 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/1.165, allocations: 2.375 kB / 1.345 GB, free: 12.62 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001164/1.166, allocations: 118.9 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/1.166, allocations: 8.125 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/1.166, allocations: 15.42 kB / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.166, allocations: 5.516 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.166, allocations: 1.531 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.166, allocations: 0.5625 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/1.166, allocations: 218.1 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.166, allocations: 1.031 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/1.166, allocations: 28.17 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.166, allocations: 1.406 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.166, allocations: 0 / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.166, allocations: 5.781 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.166, allocations: 0 / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/1.167, allocations: 257.6 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/1.167, allocations: 83.83 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/1.167, allocations: 1.719 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/1.167, allocations: 20.59 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.167, allocations: 15.66 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/1.167, allocations: 1.734 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.299e-05/1.167, allocations: 100.1 kB / 1.346 GB, free: 11.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.167, allocations: 0 / 1.346 GB, free: 11.9 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002753/1.167, allocations: 18.5 kB / 1.346 GB, free: 11.89 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 (8): * Single equations (assignments): 8 * 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.000849/1.168, allocations: 0.7853 MB / 1.347 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006224/1.169, allocations: 124.8 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.169, allocations: 0 / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/1.169, allocations: 63.69 kB / 1.347 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/1.17, allocations: 23.28 kB / 1.347 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/1.172, allocations: 1.656 MB / 1.349 GB, free: 9.828 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/1.173, allocations: 0.6978 MB / 1.349 GB, free: 9.133 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.941e-05/1.173, allocations: 10.16 kB / 1.349 GB, free: 9.129 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.158e-05/1.173, allocations: 30.27 kB / 1.349 GB, free: 9.105 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/1.173, allocations: 0 / 1.349 GB, free: 9.105 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/1.195, allocations: 2.543 MB / 1.352 GB, free: 8.695 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/9.57, allocations: 9.781 kB / 1.352 GB, free: 8.691 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.640357758966275]