Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001479/0.001479, 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.001692/0.001692, allocations: 210.3 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.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 3.149/3.149, allocations: 0.505 GB / 0.8108 GB, free: 23.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_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_latest_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.001953/0.001953, allocations: 67.91 kB / 1.178 GB, free: 16.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3248, allocations: 180.2 MB / 1.354 GB, free: 7.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002162/0.327, allocations: 0.9345 MB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3281, allocations: 0.9132 MB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.3282, allocations: 4 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.876e-05/0.3282, allocations: 15.8 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.391e-05/0.3283, allocations: 15.81 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.952e-05/0.3284, allocations: 55.94 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.3286, allocations: 164.2 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.3288, allocations: 76.75 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3289, allocations: 71.78 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.936e-05/0.329, allocations: 75.61 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.329, allocations: 24 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.303e-05/0.3291, allocations: 20 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.3291, allocations: 31.92 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.633e-05/0.3292, allocations: 67.66 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3294, allocations: 229.2 kB / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3294, allocations: 0 / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3294, allocations: 0 / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3294, allocations: 0 / 1.357 GB, free: 4.727 MB / 1.045 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.0007104/0.3301, allocations: 398 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3302, allocations: 12.03 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.3302, allocations: 20.8 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3304, allocations: 150.6 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3304, allocations: 12.7 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.3305, allocations: 16.31 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.3309, allocations: 192.6 kB / 1.357 GB, free: 3.879 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3309, allocations: 4.188 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.3309, allocations: 11.94 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.331, allocations: 4 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.3315, allocations: 168.1 kB / 1.358 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.3321, allocations: 411.9 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.3325, allocations: 138.4 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.3328, allocations: 84.8 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.3328, allocations: 4 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3328, allocations: 38.5 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.3328, allocations: 0 / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0008059/0.3336, allocations: 253.7 kB / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.3337, allocations: 51.41 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3338, allocations: 135.9 kB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3338, allocations: 25.7 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.454e-05/0.3339, allocations: 128.2 kB / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.3339, allocations: 51.62 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.334, allocations: 25.72 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3341, allocations: 322.8 kB / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.3344, allocations: 67.94 kB / 1.359 GB, free: 1.887 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.3346, allocations: 98.44 kB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.3351, allocations: 169.3 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3351, allocations: 0 / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005454/0.3356, allocations: 193.5 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3357, allocations: 4 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3357, allocations: 0 / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3357, allocations: 8.062 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.3359, allocations: 43.89 kB / 1.36 GB, free: 1.359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3359, allocations: 0 / 1.36 GB, free: 1.359 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.336, allocations: 23.94 kB / 1.36 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.336, allocations: 4 kB / 1.36 GB, free: 1.332 MB / 1.045 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.0001166/0.3362, allocations: 133.8 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.3362, allocations: 7.953 kB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.3362, allocations: 16.78 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3362, allocations: 8 kB / 1.36 GB, free: 1.16 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3362, allocations: 0 / 1.36 GB, free: 1.16 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3362, allocations: 3.938 kB / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.3364, allocations: 169.1 kB / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3365, allocations: 0 / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.3366, allocations: 47.89 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3366, allocations: 0 / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3367, allocations: 0 / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3367, allocations: 0 / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3367, allocations: 4 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.3372, allocations: 287.3 kB / 1.36 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.3372, allocations: 7.953 kB / 1.36 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3372, allocations: 3.984 kB / 1.36 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.3374, allocations: 19.98 kB / 1.36 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.3375, allocations: 27.84 kB / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3375, allocations: 0 / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.594e-05/0.3375, allocations: 101.4 kB / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3375, allocations: 0 / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002459/0.3378, allocations: 31.89 kB / 1.361 GB, free: 436 kB / 1.045 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.0001238/0.3379, allocations: 105 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005112/0.3384, allocations: 164.9 kB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.3384, allocations: 4 kB / 1.361 GB, free: 156 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.3387, allocations: 75.88 kB / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.339, allocations: 24.05 kB / 1.361 GB, free: 56 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.3396, allocations: 279.6 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.3397, allocations: 106.8 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.033e-05/0.3398, allocations: 12.34 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.3398, allocations: 15.44 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3398, allocations: 0 / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of Templates: time 0.004372/0.3442, allocations: 1.58 MB / 1.363 GB, free: 14.08 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.548803188998136]