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.PIDGain.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.001519/0.001519, allocations: 113 kB / 18.94 MB, free: 2.934 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.001741/0.001741, allocations: 211.8 kB / 22.25 MB, free: 5.086 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 8.012 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.583/3.583, allocations: 0.5049 GB / 0.81 GB, free: 22.04 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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [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.002082/0.002082, allocations: 62.11 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4464, allocations: 180.2 MB / 1.353 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002498/0.4489, allocations: 0.8685 MB / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.4502, allocations: 0.8743 MB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.343e-05/0.4503, allocations: 4 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.366e-05/0.4503, allocations: 11.86 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.4504, allocations: 19.8 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.89e-05/0.4505, allocations: 35.95 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.4507, allocations: 111.8 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.4509, allocations: 37.3 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.451, allocations: 51.78 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.4511, allocations: 51.77 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.4511, allocations: 12 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.4511, allocations: 12 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.4512, allocations: 23.92 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.4512, allocations: 55.66 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.4514, allocations: 135.4 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4515, allocations: 0 / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4515, allocations: 0 / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.4515, allocations: 0 / 1.356 GB, free: 5.656 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007726/0.4522, allocations: 362 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4523, allocations: 12.03 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.4523, allocations: 12.89 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.4526, allocations: 152.3 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.4526, allocations: 8.562 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.4526, allocations: 4.375 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.4531, allocations: 133.7 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4531, allocations: 0 / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.4531, allocations: 8 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4531, allocations: 0 / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.4536, allocations: 125.3 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.4543, allocations: 371.7 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.4548, allocations: 106.6 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.455, allocations: 68.73 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.455, allocations: 0 / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.4551, allocations: 38.72 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.4551, allocations: 0 / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007922/0.4558, allocations: 201.7 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.4559, allocations: 55.41 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.456, allocations: 136 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.4561, allocations: 29.7 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4562, allocations: 112 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.4562, allocations: 31.73 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.4563, allocations: 17.72 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4564, allocations: 326.8 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.4567, allocations: 47.95 kB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.4569, allocations: 69.66 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.4573, allocations: 129.7 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4573, allocations: 0 / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004722/0.4578, allocations: 161.5 kB / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4578, allocations: 4 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4578, allocations: 0 / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4578, allocations: 4.031 kB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.458, allocations: 39.95 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.458, allocations: 0 / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.4581, allocations: 19.92 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4581, allocations: 3.938 kB / 1.358 GB, free: 2.727 MB / 1.045 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 (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 0.0001115/0.4582, allocations: 129.7 kB / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.4583, allocations: 7.953 kB / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.4583, allocations: 16.72 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4583, allocations: 0 / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4583, allocations: 0 / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4583, allocations: 3.938 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.4586, allocations: 180.6 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4586, allocations: 0 / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.4587, allocations: 27.97 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4587, allocations: 3.938 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4587, allocations: 0 / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4587, allocations: 8 kB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4587, allocations: 4 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.4593, allocations: 255.2 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.4593, allocations: 19.89 kB / 1.359 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.4593, allocations: 3.984 kB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.4595, allocations: 19.98 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.4595, allocations: 7.922 kB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.4596, allocations: 4.188 kB / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.082e-05/0.4596, allocations: 103.2 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4596, allocations: 3.938 kB / 1.359 GB, free: 1.875 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002385/0.4599, allocations: 16 kB / 1.359 GB, free: 1.859 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 (8): * Single equations (assignments): 8 * 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.000149/0.46, allocations: 103.2 kB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.4605, allocations: 119.8 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4605, allocations: 0 / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.4607, allocations: 64 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.4611, allocations: 17.97 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.4617, allocations: 214.2 kB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.4621, allocations: 0.704 MB / 1.36 GB, free: 0.582 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.737e-05/0.4622, allocations: 4 kB / 1.36 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.4623, allocations: 19.42 kB / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.4623, allocations: 0 / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of Templates: time 0.004839/0.4671, allocations: 1.269 MB / 1.361 GB, free: 15.34 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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: 10.04032248398289]