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.001705/0.001705, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001783/0.001783, allocations: 210.5 kB / 22.99 MB, free: 4.41 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.212/3.212, allocations: 0.505 GB / 0.8108 GB, free: 23.61 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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [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.00202/0.00202, allocations: 63.09 kB / 1.178 GB, free: 16.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3813, allocations: 180.2 MB / 1.354 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002193/0.3835, allocations: 0.8239 MB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3847, allocations: 0.8821 MB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.3848, allocations: 0 / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.459e-05/0.3848, allocations: 11.88 kB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.955e-05/0.3849, allocations: 19.8 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.316e-05/0.385, allocations: 31.97 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3852, allocations: 115.7 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.3853, allocations: 41.28 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.3854, allocations: 43.84 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.3855, allocations: 55.7 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.3855, allocations: 12 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.3856, allocations: 12 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.3856, allocations: 23.92 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.3856, allocations: 43.8 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.3858, allocations: 147.3 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3858, allocations: 0 / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3858, allocations: 0 / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3858, allocations: 0 / 1.356 GB, free: 5.219 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006895/0.3865, allocations: 358 kB / 1.357 GB, free: 4.836 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3866, allocations: 12.03 kB / 1.357 GB, free: 4.824 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.3866, allocations: 12.89 kB / 1.357 GB, free: 4.812 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3868, allocations: 146.4 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3869, allocations: 8.562 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.3869, allocations: 4.375 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.3873, allocations: 130.7 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3873, allocations: 0 / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.3873, allocations: 8 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3873, allocations: 0 / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.3877, allocations: 123.9 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.3883, allocations: 316.3 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.3887, allocations: 110.6 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.389, allocations: 64.8 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.389, allocations: 0 / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.389, allocations: 30.56 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 2.675e-06/0.389, allocations: 7.984 kB / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007269/0.3897, allocations: 205.6 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.3898, allocations: 59.34 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3899, allocations: 124.1 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3899, allocations: 33.7 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.39, allocations: 112 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.39, allocations: 27.73 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.3901, allocations: 21.72 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3902, allocations: 326.8 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.3904, allocations: 51.94 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3907, allocations: 69.66 kB / 1.359 GB, free: 2.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.3911, allocations: 125.7 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3911, allocations: 0 / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004755/0.3916, allocations: 157.5 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3916, allocations: 11.92 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3916, allocations: 4 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3916, allocations: 0 / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.3918, allocations: 31.91 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3918, allocations: 4.031 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3919, allocations: 23.97 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3919, allocations: 7.938 kB / 1.359 GB, free: 2.359 MB / 1.045 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 9.882e-05/0.392, allocations: 117.8 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.3921, allocations: 7.953 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.3921, allocations: 12.72 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3921, allocations: 4 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3921, allocations: 4 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3921, allocations: 0 / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3923, allocations: 149.2 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3923, allocations: 0 / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.3925, allocations: 27.97 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3925, allocations: 4 kB / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3925, allocations: 4 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3925, allocations: 3.938 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3925, allocations: 0 / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.393, allocations: 251.7 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.393, allocations: 15.89 kB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.393, allocations: 0 / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3932, allocations: 23.97 kB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.3933, allocations: 3.984 kB / 1.359 GB, free: 1.688 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.3933, allocations: 4 kB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.91e-05/0.3933, allocations: 101.4 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3933, allocations: 4 kB / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002382/0.3936, allocations: 20 kB / 1.36 GB, free: 1.562 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 (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.0001269/0.3937, allocations: 103.2 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000482/0.3942, allocations: 127.9 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3942, allocations: 4.062 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.3944, allocations: 63.88 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3948, allocations: 17.41 kB / 1.36 GB, free: 1.246 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.3953, allocations: 243.9 kB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.863e-05/0.3954, allocations: 88.12 kB / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.3955, allocations: 15.38 kB / 1.36 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3955, allocations: 0 / 1.36 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of Templates: time 0.003195/0.3987, allocations: 1.327 MB / 1.362 GB, free: 15.53 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 800] 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: 11.17546362898429]