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.PIDIntegralTime.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.001187/0.001187, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002066/0.003253, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001448/0.001448, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001849/0.003297, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.001/1.001, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1007/1.101, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.921/1.921, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5548/2.476, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.463e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.001587/0.001611, allocations: 0.8825 MB / 0.7302 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009157/0.002527, allocations: 0.9034 MB / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.002573, allocations: 4.984 kB / 0.7311 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.002604, allocations: 11.86 kB / 0.7311 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.61e-05/0.00265, allocations: 7.984 kB / 0.7311 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.252e-05/0.002713, allocations: 36.64 kB / 0.7311 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.002849, allocations: 112 kB / 0.7312 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.002986, allocations: 42.2 kB / 0.7313 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.003113, allocations: 81.06 kB / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.003172, allocations: 35.89 kB / 0.7314 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.003198, allocations: 12 kB / 0.7314 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.003209, allocations: 10.41 kB / 0.7314 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.003231, allocations: 19.94 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.003262, allocations: 23.94 kB / 0.7314 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.003379, allocations: 63.7 kB / 0.7315 GB, free: 2.355 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.91e-05/0.003398, allocations: 0 / 0.7315 GB, free: 2.355 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003399, allocations: 0 / 0.7315 GB, free: 2.355 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.003417, allocations: 0 / 0.7315 GB, free: 2.355 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000454/0.003871, allocations: 317.6 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.003908, allocations: 12.03 kB / 0.7318 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.00394, allocations: 18.17 kB / 0.7318 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.004078, allocations: 133.5 kB / 0.7319 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.004091, allocations: 8.375 kB / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.004105, allocations: 9.219 kB / 0.732 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.004274, allocations: 95.72 kB / 0.7321 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.004282, allocations: 0.75 kB / 0.7321 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.004291, allocations: 10.03 kB / 0.7321 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.004298, allocations: 4.375 kB / 0.7321 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.00434, allocations: 26.36 kB / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.004636, allocations: 247.8 kB / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.004795, allocations: 63.36 kB / 0.7324 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.004832, allocations: 26.34 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.004844, allocations: 4.188 kB / 0.7324 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.004866, allocations: 34.5 kB / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.004868, allocations: 0 / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001315/0.004999, allocations: 66.78 kB / 0.7325 GB, free: 1.211 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.005029, allocations: 51.41 kB / 0.7326 GB, free: 1.148 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.157e-05/0.005091, allocations: 127.5 kB / 0.7327 GB, free: 1.012 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.005103, allocations: 25.7 kB / 0.7327 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.005142, allocations: 109.7 kB / 0.7328 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.005165, allocations: 27.73 kB / 0.7328 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.005198, allocations: 25.7 kB / 0.7329 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.005279, allocations: 322.8 kB / 0.7332 GB, free: 500 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.005293, allocations: 7.938 kB / 0.7332 GB, free: 492 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.005311, allocations: 16.52 kB / 0.7332 GB, free: 476 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.005347, allocations: 29.88 kB / 0.7332 GB, free: 444 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005349, allocations: 0 / 0.7332 GB, free: 444 kB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.788e-05/0.005417, allocations: 53.69 kB / 0.7333 GB, free: 384 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.005432, allocations: 11.08 kB / 0.7333 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.005437, allocations: 0 / 0.7333 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.005447, allocations: 1.125 kB / 0.7333 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.005572, allocations: 31.92 kB / 0.7333 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.005575, allocations: 0.7188 kB / 0.7333 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.005603, allocations: 8 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005609, allocations: 4.531 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 6.773e-05/0.005677, allocations: 118.7 kB / 0.7334 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.005694, allocations: 7.984 kB / 0.7335 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.005721, allocations: 13.03 kB / 0.7335 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.005724, allocations: 1.219 kB / 0.7335 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.005728, allocations: 0 / 0.7335 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.005731, allocations: 0 / 0.7335 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.005851, allocations: 105.7 kB / 0.7336 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.005853, allocations: 1.312 kB / 0.7336 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.005923, allocations: 23.98 kB / 0.7336 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.005931, allocations: 7.891 kB / 0.7336 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.005934, allocations: 8.688 kB / 0.7336 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.005939, allocations: 4 kB / 0.7336 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.005942, allocations: 4.797 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.005943, allocations: 0 / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.006068, allocations: 160.8 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.00608, allocations: 4 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.006122, allocations: 7.984 kB / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.00616, allocations: 17.17 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.006163, allocations: 0 / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.571e-05/0.006179, allocations: 12.86 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006179, allocations: 0 / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001204/0.006299, allocations: 17.09 kB / 0.7338 GB, free: 15.78 MB / 0.7136 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 (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 Backend phase and start with SimCode phase: time 9.034e-05/0.00639, allocations: 93.66 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.225e-05/0.006472, allocations: 36.78 kB / 0.734 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.006478, allocations: 4 kB / 0.734 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.006505, allocations: 25.81 kB / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.006688, allocations: 29.2 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.007173, allocations: 220.6 kB / 0.7342 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.114e-05/0.007214, allocations: 64.52 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.784e-05/0.007252, allocations: 6.75 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.007321, allocations: 71.34 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/0.007322, allocations: 0 / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.003285/0.01061, allocations: 1.081 MB / 0.7354 GB, free: 14.22 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.005121375434101]