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.0015/0.0015, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001672/0.001672, allocations: 214.4 kB / 23.01 MB, free: 4.609 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.308/3.308, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002071/0.002071, allocations: 70.77 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3987, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002963/0.4017, allocations: 0.9944 MB / 1.355 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.4033, allocations: 0.9133 MB / 1.356 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.4034, allocations: 8 kB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.848e-05/0.4035, allocations: 23.67 kB / 1.356 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.4036, allocations: 15.8 kB / 1.356 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.4038, allocations: 55.94 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.4041, allocations: 168.1 kB / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.4044, allocations: 80.75 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.4045, allocations: 67.78 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.4046, allocations: 71.69 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.4047, allocations: 20 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.212e-05/0.4047, allocations: 20 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.4048, allocations: 43.84 kB / 1.357 GB, free: 5.477 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.4049, allocations: 79.58 kB / 1.357 GB, free: 5.398 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.4053, allocations: 221.8 kB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4053, allocations: 0 / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4053, allocations: 0 / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.4053, allocations: 0 / 1.357 GB, free: 5.184 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.001025/0.4063, allocations: 406 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.4064, allocations: 8.031 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.4064, allocations: 20.8 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.4068, allocations: 150.6 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.4068, allocations: 16.64 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.4068, allocations: 20.38 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/0.4075, allocations: 184.6 kB / 1.358 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4075, allocations: 192 / 1.358 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.4075, allocations: 15.94 kB / 1.358 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4075, allocations: 0 / 1.358 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007779/0.4083, allocations: 172.1 kB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.4093, allocations: 491.2 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.4098, allocations: 126.5 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.4102, allocations: 96.78 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.4102, allocations: 0 / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.4103, allocations: 30.56 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.4103, allocations: 0 / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.001086/0.4114, allocations: 257.7 kB / 1.359 GB, free: 3.098 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.4114, allocations: 55.41 kB / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.4116, allocations: 132.4 kB / 1.359 GB, free: 2.891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.4116, allocations: 25.7 kB / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.4118, allocations: 132.2 kB / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.4119, allocations: 47.62 kB / 1.359 GB, free: 2.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.4119, allocations: 29.7 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.4122, allocations: 330.8 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.4125, allocations: 63.94 kB / 1.36 GB, free: 2.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.4128, allocations: 94.45 kB / 1.36 GB, free: 2.148 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.4135, allocations: 168.8 kB / 1.36 GB, free: 1.977 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4135, allocations: 0 / 1.36 GB, free: 1.977 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007639/0.4142, allocations: 197.5 kB / 1.36 GB, free: 1.777 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.4142, allocations: 4 kB / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4143, allocations: 8.062 kB / 1.36 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4143, allocations: 0 / 1.36 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.4146, allocations: 43.91 kB / 1.36 GB, free: 1.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4146, allocations: 0 / 1.36 GB, free: 1.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.4148, allocations: 23.92 kB / 1.36 GB, free: 1.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.4148, allocations: 4 kB / 1.36 GB, free: 1.695 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.0002287/0.415, allocations: 130.4 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.4151, allocations: 11.95 kB / 1.36 GB, free: 1.547 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.4151, allocations: 20.77 kB / 1.36 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4151, allocations: 3.938 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4151, allocations: 0 / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4151, allocations: 0 / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.4155, allocations: 224.5 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4155, allocations: 0 / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.4158, allocations: 39.91 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4158, allocations: 0 / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.4158, allocations: 8 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.4158, allocations: 0 / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4158, allocations: 0 / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000802/0.4166, allocations: 287.3 kB / 1.361 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.4166, allocations: 11.95 kB / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.4166, allocations: 4 kB / 1.361 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.4168, allocations: 15.97 kB / 1.361 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.4169, allocations: 11.98 kB / 1.361 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.4169, allocations: 4 kB / 1.361 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.83e-05/0.417, allocations: 101.2 kB / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.417, allocations: 0 / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004053/0.4174, allocations: 35.83 kB / 1.361 GB, free: 0.7383 MB / 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.0001848/0.4176, allocations: 107.2 kB / 1.361 GB, free: 0.625 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000806/0.4184, allocations: 162 kB / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4184, allocations: 128 / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.4188, allocations: 83.88 kB / 1.361 GB, free: 396 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.4193, allocations: 23.98 kB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.4203, allocations: 316.5 kB / 1.362 GB, free: 24 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.4208, allocations: 0.7118 MB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.4209, allocations: 11.44 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of SimCode: time 9.02e-07/0.4209, allocations: 0 / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of Templates: time 0.005082/0.426, allocations: 1.628 MB / 1.364 GB, free: 13.66 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 -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: 11.566728556994349]