Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001608/0.001608, allocations: 76.23 kB / 19.18 MB, free: 2.52 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.001661/0.001661, allocations: 165.3 kB / 22.45 MB, free: 5.371 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: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.94/2.94, allocations: 389 MB / 0.633 GB, free: 1.039 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 1 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.532e-05, allocations: 2.281 kB / 1 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.00372/0.003756, allocations: 1.147 MB / 1.001 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.005751, allocations: 0.9989 MB / 1.002 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.005889, allocations: 4 kB / 1.002 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.005995, allocations: 27.66 kB / 1.002 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.006198, allocations: 31.66 kB / 1.002 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.006435, allocations: 99.91 kB / 1.002 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004622/0.006897, allocations: 311.3 kB / 1.003 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.007296, allocations: 145.9 kB / 1.003 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.007629, allocations: 171.7 kB / 1.003 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.007809, allocations: 91.69 kB / 1.003 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.206e-05/0.007881, allocations: 36 kB / 1.003 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.007951, allocations: 36 kB / 1.003 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.008052, allocations: 67.75 kB / 1.003 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.008204, allocations: 87.81 kB / 1.003 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006848/0.008889, allocations: 458.5 kB / 1.004 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.008895, allocations: 0 / 1.004 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.185e-06/0.008898, allocations: 0 / 1.004 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.008905, allocations: 0 / 1.004 GB, free: 2.562 MB / 0.9044 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.001236/0.01014, allocations: 477.9 kB / 1.004 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.0102, allocations: 15.98 kB / 1.004 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.668e-05/0.01029, allocations: 32.75 kB / 1.004 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.01074, allocations: 198 kB / 1.004 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.01079, allocations: 25.02 kB / 1.004 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.01084, allocations: 24.38 kB / 1.004 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009022/0.01175, allocations: 258.6 kB / 1.005 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.01176, allocations: 192 / 1.005 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.0118, allocations: 16.31 kB / 1.005 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.01182, allocations: 4.375 kB / 1.005 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.01289, allocations: 242.4 kB / 1.005 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.01437, allocations: 0.5976 MB / 1.006 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008576/0.01523, allocations: 212.6 kB / 1.006 GB, free: 396 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004897/0.01572, allocations: 109.1 kB / 1.006 GB, free: 284 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.01574, allocations: 4 kB / 1.006 GB, free: 280 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.01579, allocations: 38.52 kB / 1.006 GB, free: 232 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.01579, allocations: 0 / 1.006 GB, free: 232 kB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.001534/0.01732, allocations: 317.3 kB / 1.006 GB, free: 15.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.01739, allocations: 59.34 kB / 1.006 GB, free: 15.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.01757, allocations: 135.9 kB / 1.006 GB, free: 15.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.01761, allocations: 37.62 kB / 1.006 GB, free: 15.66 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.01777, allocations: 156.6 kB / 1.007 GB, free: 15.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.981e-05/0.01787, allocations: 67.39 kB / 1.007 GB, free: 15.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.01799, allocations: 37.7 kB / 1.007 GB, free: 15.39 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.01819, allocations: 322.8 kB / 1.007 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/0.01863, allocations: 79.94 kB / 1.007 GB, free: 14.99 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.01908, allocations: 107.8 kB / 1.007 GB, free: 14.88 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009002/0.01998, allocations: 195.4 kB / 1.007 GB, free: 14.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01998, allocations: 4 kB / 1.007 GB, free: 14.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009898/0.02097, allocations: 231.5 kB / 1.008 GB, free: 14.45 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.021, allocations: 8 kB / 1.008 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.02101, allocations: 3.984 kB / 1.008 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.02103, allocations: 0 / 1.008 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.02143, allocations: 59.94 kB / 1.008 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.02144, allocations: 0 / 1.008 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.02167, allocations: 27.86 kB / 1.008 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.0217, allocations: 11.98 kB / 1.008 GB, free: 14.34 MB / 0.92 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.0002073/0.02191, allocations: 138.4 kB / 1.008 GB, free: 14.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.02197, allocations: 15.91 kB / 1.008 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.584e-05/0.02205, allocations: 29.05 kB / 1.008 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.02206, allocations: 8 kB / 1.008 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.02206, allocations: 0 / 1.008 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02207, allocations: 0 / 1.008 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.02249, allocations: 213.1 kB / 1.008 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.0225, allocations: 3.938 kB / 1.008 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.02289, allocations: 51.95 kB / 1.008 GB, free: 13.85 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.02289, allocations: 0 / 1.008 GB, free: 13.85 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.02292, allocations: 8 kB / 1.008 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.02292, allocations: 4 kB / 1.008 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.02292, allocations: 4 kB / 1.008 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.02398, allocations: 331.2 kB / 1.008 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.02401, allocations: 15.84 kB / 1.008 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.02405, allocations: 4 kB / 1.008 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.02432, allocations: 23.97 kB / 1.008 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.02442, allocations: 15.97 kB / 1.008 GB, free: 13.44 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.02444, allocations: 8 kB / 1.008 GB, free: 13.43 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001217/0.02456, allocations: 103.3 kB / 1.009 GB, free: 13.33 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02456, allocations: 0 / 1.009 GB, free: 13.33 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005142/0.02507, allocations: 47.84 kB / 1.009 GB, free: 13.28 MB / 0.92 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.0001734/0.02525, allocations: 111.6 kB / 1.009 GB, free: 13.16 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000988/0.02623, allocations: 197.5 kB / 1.009 GB, free: 12.97 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02624, allocations: 0 / 1.009 GB, free: 12.97 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.02671, allocations: 107.7 kB / 1.009 GB, free: 12.87 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/0.02735, allocations: 28.05 kB / 1.009 GB, free: 12.84 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.02858, allocations: 411 kB / 1.009 GB, free: 12.41 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.02877, allocations: 133.7 kB / 1.01 GB, free: 12.27 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.0289, allocations: 13.48 kB / 1.01 GB, free: 12.25 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.02899, allocations: 20.5 kB / 1.01 GB, free: 12.23 MB / 0.92 GB Notification: Performance of SimCode: time 5.51e-07/0.02899, allocations: 0 / 1.01 GB, free: 12.23 MB / 0.92 GB Notification: Performance of Templates: time 0.007774/0.03677, allocations: 1.704 MB / 1.011 GB, free: 10.59 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.361000720411539]