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.0007294/0.0007294, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001795, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006746/0.0006746, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008855/0.00156, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9613/0.9613, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1097/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.93/1.93, allocations: 378.3 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5971/2.527, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 177] 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.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: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.7296 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.545e-05, allocations: 6.969 kB / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.001977/0.001992, allocations: 1.234 MB / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.003143, allocations: 1.031 MB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.862e-05/0.003231, allocations: 4.766 kB / 0.7318 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.269e-05/0.003284, allocations: 27.61 kB / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.225e-05/0.003376, allocations: 39.16 kB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.003493, allocations: 95.89 kB / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.003735, allocations: 304 kB / 0.7323 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.00395, allocations: 146.6 kB / 0.7324 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.004157, allocations: 191.6 kB / 0.7326 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.004373, allocations: 81.61 kB / 0.7327 GB, free: 1.359 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.004421, allocations: 36 kB / 0.7327 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.57e-05/0.004446, allocations: 32 kB / 0.7327 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.004491, allocations: 47.88 kB / 0.7328 GB, free: 1.246 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.004547, allocations: 72.59 kB / 0.7329 GB, free: 1.176 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.004742, allocations: 175.3 kB / 0.733 GB, free: 1.004 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.004753, allocations: 0.625 kB / 0.733 GB, free: 1.004 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004754, allocations: 0 / 0.733 GB, free: 1.004 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.004769, allocations: 0.9062 kB / 0.733 GB, free: 1.004 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005868/0.005356, allocations: 484.8 kB / 0.7335 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.005398, allocations: 13.44 kB / 0.7335 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.005459, allocations: 36.91 kB / 0.7335 GB, free: 468 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.005664, allocations: 179.8 kB / 0.7337 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.005681, allocations: 17.56 kB / 0.7337 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.005709, allocations: 28.38 kB / 0.7338 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.005952, allocations: 184.9 kB / 0.7339 GB, free: 28 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.005965, allocations: 192 / 0.7339 GB, free: 28 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.005981, allocations: 12.38 kB / 0.7339 GB, free: 16 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.005989, allocations: 5.375 kB / 0.734 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.922e-05/0.006089, allocations: 68.44 kB / 0.734 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.006709, allocations: 483 kB / 0.7345 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.006909, allocations: 124 kB / 0.7346 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.006955, allocations: 44.78 kB / 0.7346 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.006969, allocations: 4 kB / 0.7346 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.00699, allocations: 30.56 kB / 0.7347 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.006991, allocations: 0.75 kB / 0.7347 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.000182/0.007173, allocations: 117.9 kB / 0.7348 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.007204, allocations: 56.72 kB / 0.7348 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.00728, allocations: 140.5 kB / 0.735 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.007295, allocations: 29.7 kB / 0.735 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.007356, allocations: 150.3 kB / 0.7351 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.007394, allocations: 71.36 kB / 0.7352 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.007437, allocations: 37.69 kB / 0.7352 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.00752, allocations: 326.8 kB / 0.7356 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.007544, allocations: 12 kB / 0.7356 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.963e-05/0.007583, allocations: 39.72 kB / 0.7356 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.087e-05/0.007654, allocations: 71.45 kB / 0.7357 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.007658, allocations: 4.656 kB / 0.7357 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001041/0.007762, allocations: 100.8 kB / 0.7358 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.007776, allocations: 11.27 kB / 0.7358 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.007781, allocations: 0 / 0.7358 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.007794, allocations: 0.875 kB / 0.7358 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.007953, allocations: 61.16 kB / 0.7358 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.007956, allocations: 0 / 0.7358 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.007999, allocations: 15.89 kB / 0.7359 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.008006, allocations: 9.25 kB / 0.7359 GB, free: 13.95 MB / 0.7136 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 6.659e-05/0.008073, allocations: 121.8 kB / 0.736 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.008094, allocations: 16 kB / 0.736 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.008123, allocations: 22.08 kB / 0.736 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008126, allocations: 4 kB / 0.736 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.008128, allocations: 0.5312 kB / 0.736 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008131, allocations: 0 / 0.736 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.008266, allocations: 138.9 kB / 0.7362 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008267, allocations: 3.938 kB / 0.7362 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.008376, allocations: 56.69 kB / 0.7362 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.301e-05/0.008389, allocations: 19.83 kB / 0.7362 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008391, allocations: 9.156 kB / 0.7362 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.008398, allocations: 0 / 0.7362 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008399, allocations: 0 / 0.7362 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.008401, allocations: 0.5625 kB / 0.7362 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.008521, allocations: 200.1 kB / 0.7364 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.008534, allocations: 8 kB / 0.7364 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.008586, allocations: 12.73 kB / 0.7365 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.008626, allocations: 19.97 kB / 0.7365 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.00863, allocations: 1.844 kB / 0.7365 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.431e-05/0.008654, allocations: 34.69 kB / 0.7365 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.008654, allocations: 0 / 0.7365 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001367/0.008791, allocations: 51.84 kB / 0.7366 GB, free: 13.21 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 (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 7.479e-05/0.008866, allocations: 77.77 kB / 0.7366 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.008978, allocations: 87.78 kB / 0.7367 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.008986, allocations: 4.688 kB / 0.7367 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.725e-05/0.009043, allocations: 52.84 kB / 0.7368 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.009263, allocations: 135.4 kB / 0.7369 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.009879, allocations: 434 kB / 0.7373 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.636e-05/0.009925, allocations: 79.77 kB / 0.7374 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.857e-05/0.009984, allocations: 20.78 kB / 0.7374 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/0.01007, allocations: 75.36 kB / 0.7375 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/0.01007, allocations: 0 / 0.7375 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.003533/0.0136, allocations: 1.78 MB / 0.7392 GB, free: 10.54 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.059479625895619]