Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001678/0.001678, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001899/0.001899, allocations: 216.6 kB / 22.25 MB, free: 5.105 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.366/3.366, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [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.002327/0.002327, allocations: 77.5 kB / 1.154 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3753, allocations: 176.1 MB / 1.326 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.00275/0.378, allocations: 1.13 MB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3798, allocations: 1.007 MB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.38, allocations: 4 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.926e-05/0.3801, allocations: 23.67 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.3803, allocations: 39.64 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.3805, allocations: 91.92 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.3808, allocations: 307.4 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.3811, allocations: 146 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.3812, allocations: 115.6 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.3814, allocations: 119.5 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.065e-05/0.3814, allocations: 36 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.976e-05/0.3815, allocations: 36 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.3815, allocations: 67.83 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.673e-05/0.3816, allocations: 99.53 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.3821, allocations: 450.2 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3821, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 5.721e-06/0.3821, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.3821, allocations: 3.938 kB / 1.33 GB, free: 13.34 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008832/0.383, allocations: 485.8 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3831, allocations: 8.031 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.3831, allocations: 32.75 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.3835, allocations: 210.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.3835, allocations: 17.03 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.3835, allocations: 32.31 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.3841, allocations: 262.6 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3842, allocations: 192 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.3842, allocations: 11.94 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.3842, allocations: 8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006447/0.3849, allocations: 238.5 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.3859, allocations: 0.5976 MB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.3865, allocations: 206.7 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.3868, allocations: 113.9 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3868, allocations: 4 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3869, allocations: 34.56 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.3869, allocations: 0 / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0009248/0.3878, allocations: 319.4 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.3878, allocations: 51.41 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.388, allocations: 139.3 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.388, allocations: 33.69 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3881, allocations: 152.6 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.3882, allocations: 71.42 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.3882, allocations: 29.72 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3884, allocations: 330.8 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.3886, allocations: 87.86 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.3889, allocations: 103.7 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.3895, allocations: 191 kB / 1.333 GB, free: 9.461 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3895, allocations: 0 / 1.333 GB, free: 9.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006193/0.3901, allocations: 238.8 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3901, allocations: 8 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3901, allocations: 0 / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3901, allocations: 0 / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.3904, allocations: 55.94 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3904, allocations: 3.938 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.3905, allocations: 35.84 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.3906, allocations: 8 kB / 1.334 GB, free: 9.113 MB / 1.029 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 (21): * Single equations (assignments): 21 * 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.0001357/0.3907, allocations: 138.4 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.3907, allocations: 19.84 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.3908, allocations: 21.06 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3908, allocations: 4 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3908, allocations: 0 / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3908, allocations: 3.938 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.3911, allocations: 209.1 kB / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3911, allocations: 0 / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.3913, allocations: 63.89 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3913, allocations: 0 / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3913, allocations: 0 / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3913, allocations: 4 kB / 1.334 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3913, allocations: 0 / 1.334 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.392, allocations: 337.3 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.392, allocations: 15.91 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.3921, allocations: 4 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.3922, allocations: 15.97 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.3923, allocations: 23.91 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.3923, allocations: 8 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.709e-05/0.3924, allocations: 113.1 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3924, allocations: 0 / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002922/0.3927, allocations: 51.78 kB / 1.335 GB, free: 8.043 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 (20): * Single equations (assignments): 20 * 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.0001299/0.3928, allocations: 103.2 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006189/0.3934, allocations: 191.8 kB / 1.335 GB, free: 7.746 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3934, allocations: 0 / 1.335 GB, free: 7.746 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.3937, allocations: 103.9 kB / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.3941, allocations: 27.98 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/0.395, allocations: 418.9 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.3952, allocations: 137.5 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.906e-05/0.3952, allocations: 17.42 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.3953, allocations: 15.44 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3953, allocations: 0 / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of Templates: time 0.005475/0.4008, allocations: 1.982 MB / 1.338 GB, free: 5.055 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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: 9.732865544967353]