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.001565/0.001565, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001708/0.001708, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.513/1.513, 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.401/3.401, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 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.002067/0.002067, allocations: 74.33 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3409, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002472/0.3434, allocations: 0.9369 MB / 1.366 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3447, allocations: 0.9104 MB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.921e-05/0.3448, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.45e-05/0.3449, allocations: 15.8 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.345, allocations: 19.81 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.3451, allocations: 51.94 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.3453, allocations: 172.2 kB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.3455, allocations: 72.77 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3457, allocations: 67.77 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.3458, allocations: 67.62 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.3458, allocations: 16 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.69e-05/0.3458, allocations: 20 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.3459, allocations: 39.84 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.343e-05/0.3459, allocations: 63.67 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.3462, allocations: 223.1 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3462, allocations: 3.938 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3462, allocations: 0 / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.3462, allocations: 4 kB / 1.367 GB, free: 10.87 MB / 1.061 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.0007686/0.347, allocations: 398 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.347, allocations: 8.031 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.3471, allocations: 20.83 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3473, allocations: 158.5 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.3473, allocations: 8.703 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.3474, allocations: 16.38 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.3479, allocations: 180.8 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3479, allocations: 4.125 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.3479, allocations: 11.94 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.3479, allocations: 4 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.3484, allocations: 176.1 kB / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.3491, allocations: 411.9 kB / 1.369 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.3495, allocations: 134.4 kB / 1.369 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.3498, allocations: 84.8 kB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.3498, allocations: 4 kB / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3498, allocations: 30.56 kB / 1.369 GB, free: 9.141 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.3498, allocations: 0 / 1.369 GB, free: 9.141 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008278/0.3507, allocations: 257.7 kB / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3507, allocations: 55.41 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3508, allocations: 128.1 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3508, allocations: 29.7 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.351, allocations: 128.2 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.351, allocations: 47.62 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.351, allocations: 33.66 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3512, allocations: 326.8 kB / 1.37 GB, free: 8.102 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.3514, allocations: 63.94 kB / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.3517, allocations: 96.69 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.3522, allocations: 168.9 kB / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3522, allocations: 4 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005419/0.3527, allocations: 193.5 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3527, allocations: 11.94 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3527, allocations: 0 / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3528, allocations: 3.984 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.353, allocations: 39.97 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.353, allocations: 0 / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.3531, allocations: 27.92 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3531, allocations: 8.062 kB / 1.37 GB, free: 7.477 MB / 1.061 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.0001194/0.3532, allocations: 130.8 kB / 1.371 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.3533, allocations: 11.95 kB / 1.371 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.3533, allocations: 12.78 kB / 1.371 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3533, allocations: 4 kB / 1.371 GB, free: 7.305 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3533, allocations: 0 / 1.371 GB, free: 7.305 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3533, allocations: 3.984 kB / 1.371 GB, free: 7.301 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.3535, allocations: 169 kB / 1.371 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3535, allocations: 0 / 1.371 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.3537, allocations: 43.91 kB / 1.371 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.3537, allocations: 7.984 kB / 1.371 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3537, allocations: 0 / 1.371 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3537, allocations: 0 / 1.371 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3537, allocations: 0 / 1.371 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.3543, allocations: 294 kB / 1.371 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.3544, allocations: 19.89 kB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3544, allocations: 0 / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.3545, allocations: 15.98 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.3546, allocations: 11.97 kB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3546, allocations: 8 kB / 1.371 GB, free: 6.699 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.3547, allocations: 95.27 kB / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3547, allocations: 0 / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002522/0.3549, allocations: 31.89 kB / 1.371 GB, free: 6.574 MB / 1.061 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.0001508/0.3551, allocations: 107.2 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005597/0.3556, allocations: 155.8 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3556, allocations: 0 / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.3559, allocations: 88 kB / 1.372 GB, free: 6.223 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3562, allocations: 23.92 kB / 1.372 GB, free: 6.199 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.3569, allocations: 304.5 kB / 1.372 GB, free: 5.871 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.357, allocations: 102.8 kB / 1.372 GB, free: 5.754 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.357, allocations: 19.44 kB / 1.372 GB, free: 5.734 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.357, allocations: 0 / 1.372 GB, free: 5.734 MB / 1.061 GB Notification: Performance of Templates: time 0.003735/0.3608, allocations: 1.669 MB / 1.374 GB, free: 4.078 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.275932793971151]