Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001278/0.001278, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001517/0.001517, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.103/3.103, allocations: 0.49 GB / 0.7958 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] 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.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_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_12_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.002266/0.002266, allocations: 72.05 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3541, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002293/0.3564, allocations: 0.8716 MB / 1.328 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3575, allocations: 0.8822 MB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.3575, allocations: 4 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.3576, allocations: 11.86 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.752e-05/0.3577, allocations: 19.8 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.255e-05/0.3578, allocations: 35.95 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.3579, allocations: 123.6 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3581, allocations: 33.3 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.3582, allocations: 43.84 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.3583, allocations: 51.77 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.3583, allocations: 15.94 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.772e-05/0.3583, allocations: 12 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.3583, allocations: 23.92 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.3584, allocations: 55.72 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.3586, allocations: 131.4 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3586, allocations: 4 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3586, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.3586, allocations: 0 / 1.329 GB, free: 15.13 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006854/0.3593, allocations: 358 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3593, allocations: 8.031 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.3594, allocations: 20.83 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3596, allocations: 145 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3596, allocations: 8.562 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.3596, allocations: 12.38 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.36, allocations: 125.7 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.36, allocations: 4 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.36, allocations: 0 / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.36, allocations: 4 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.3605, allocations: 123.9 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.3611, allocations: 371.7 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.3615, allocations: 102.6 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.3617, allocations: 72.95 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3617, allocations: 3.984 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3617, allocations: 30.56 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3617, allocations: 0 / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0007445/0.3625, allocations: 205.4 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.3625, allocations: 51.41 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3627, allocations: 134 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.3627, allocations: 25.7 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.3628, allocations: 112 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.3628, allocations: 31.73 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.3629, allocations: 21.72 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.363, allocations: 318.8 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.3632, allocations: 51.95 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.3634, allocations: 73.66 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.3639, allocations: 121.5 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3639, allocations: 4.188 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004654/0.3644, allocations: 157.5 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3644, allocations: 9.969 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3644, allocations: 4 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3644, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.3646, allocations: 39.92 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3646, allocations: 400 / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.3647, allocations: 19.92 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3647, allocations: 4 kB / 1.332 GB, free: 12.21 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 (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.0001099/0.3648, allocations: 122.4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.3648, allocations: 11.89 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.3649, allocations: 8.719 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3649, allocations: 8 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3649, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3649, allocations: 3.938 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.3651, allocations: 176.6 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3651, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.3653, allocations: 39.91 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3653, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3653, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3653, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3653, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.3658, allocations: 259.3 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.3658, allocations: 15.89 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3658, allocations: 4 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.366, allocations: 19.97 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.366, allocations: 15.92 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.366, allocations: 0 / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.687e-05/0.3661, allocations: 106.2 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3661, allocations: 0 / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002319/0.3663, allocations: 16 kB / 1.333 GB, free: 11.35 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 (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.0001353/0.3665, allocations: 108.7 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.367, allocations: 115.9 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.367, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.3672, allocations: 67.95 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3675, allocations: 16.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.3681, allocations: 241.3 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3684, allocations: 0.7088 MB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.3685, allocations: 11.44 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3685, allocations: 3.938 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of Templates: time 0.003059/0.3715, allocations: 1.294 MB / 1.335 GB, free: 8.734 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.966029372997582]