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.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.001694/0.001694, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001959/0.001959, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.561/1.561, 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 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.378/3.378, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [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.002085/0.002085, allocations: 69.56 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4555, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002635/0.4581, allocations: 0.9286 MB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.4596, allocations: 0.9172 MB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.4597, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.76e-05/0.4597, allocations: 15.8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.4598, allocations: 15.81 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.46, allocations: 51.94 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.4602, allocations: 176.1 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.4604, allocations: 76.78 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.4606, allocations: 67.78 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.4607, allocations: 79.67 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.4607, allocations: 19.98 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.727e-05/0.4607, allocations: 20 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.4608, allocations: 35.86 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.4609, allocations: 63.72 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.4611, allocations: 223.1 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4612, allocations: 3.938 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4612, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.4612, allocations: 0 / 1.33 GB, free: 14.32 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.0008061/0.462, allocations: 394 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.462, allocations: 8.031 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.4621, allocations: 20.84 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.4623, allocations: 162.1 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.4623, allocations: 8.703 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.4624, allocations: 20.31 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.4629, allocations: 188.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4629, allocations: 192 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.4629, allocations: 11.94 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4629, allocations: 4 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.4635, allocations: 172.1 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007304/0.4642, allocations: 407.9 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.4646, allocations: 138.5 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.4648, allocations: 88.78 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.4649, allocations: 4 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.4649, allocations: 38.5 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.4649, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008774/0.4658, allocations: 249.5 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.4658, allocations: 55.41 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.466, allocations: 126.1 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.466, allocations: 29.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4661, allocations: 128.2 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.4662, allocations: 47.59 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.4662, allocations: 25.72 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4664, allocations: 326.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.4666, allocations: 67.94 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.4669, allocations: 96.27 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.4673, allocations: 174.6 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4673, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005814/0.4679, allocations: 194.8 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4679, allocations: 12.06 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.468, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.468, allocations: 3.984 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.4682, allocations: 47.83 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.4682, allocations: 4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.4684, allocations: 23.94 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.4684, allocations: 7.984 kB / 1.333 GB, free: 10.91 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.000129/0.4685, allocations: 130.2 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.4686, allocations: 7.953 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.4686, allocations: 16.78 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.4686, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4686, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4686, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.4688, allocations: 177.1 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.4688, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.469, allocations: 39.89 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.469, allocations: 0 / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.4691, allocations: 12 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4691, allocations: 3.938 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4691, allocations: 0 / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.4696, allocations: 279.3 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.4696, allocations: 11.95 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.4697, allocations: 7.984 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.4698, allocations: 15.98 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.4699, allocations: 19.91 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4699, allocations: 4 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.556e-05/0.47, allocations: 101.9 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.47, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002574/0.4702, allocations: 31.89 kB / 1.334 GB, free: 10.01 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.0001348/0.4704, allocations: 99.25 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005854/0.4709, allocations: 161.2 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4709, allocations: 0 / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.4712, allocations: 87.88 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.4716, allocations: 30.16 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.4723, allocations: 276.2 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.4724, allocations: 102.8 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.98e-05/0.4725, allocations: 16.34 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.4725, allocations: 11.44 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.4725, allocations: 3.938 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of Templates: time 0.005338/0.4779, allocations: 1.566 MB / 1.336 GB, free: 7.688 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.583126690005884]