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.001387/0.001387, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001654/0.001654, allocations: 216.1 kB / 23 MB, free: 4.969 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.4/3.4, allocations: 0.505 GB / 0.8109 GB, free: 23.58 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.002085/0.002085, allocations: 66.78 kB / 1.178 GB, free: 16.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4087, allocations: 180.2 MB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002769/0.4115, allocations: 0.9405 MB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.4128, allocations: 0.9016 MB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.695e-05/0.4128, allocations: 4 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.105e-05/0.4129, allocations: 15.8 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.413, allocations: 27.8 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001068/0.4131, allocations: 51.94 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.4133, allocations: 168.1 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.4135, allocations: 84.75 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.4137, allocations: 67.78 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.4138, allocations: 71.67 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.4138, allocations: 20 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.529e-05/0.4138, allocations: 20 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.4139, allocations: 35.86 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.4139, allocations: 71.66 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.4142, allocations: 223 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.4142, allocations: 0 / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4142, allocations: 3.938 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4142, allocations: 0 / 1.357 GB, free: 4.797 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.0007666/0.415, allocations: 398 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.415, allocations: 8.031 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.4151, allocations: 24.8 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.4153, allocations: 154.6 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4153, allocations: 12.7 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.4153, allocations: 16.38 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.4158, allocations: 180.7 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4158, allocations: 192 / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.4158, allocations: 11.94 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4158, allocations: 4 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005551/0.4164, allocations: 180.1 kB / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007/0.4171, allocations: 403.9 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.4175, allocations: 138.4 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.4177, allocations: 88.78 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.4178, allocations: 0 / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.4178, allocations: 34.56 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.4178, allocations: 0 / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0008334/0.4186, allocations: 255 kB / 1.359 GB, free: 2.809 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.4187, allocations: 51.41 kB / 1.359 GB, free: 2.746 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.4188, allocations: 134.1 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.4188, allocations: 33.64 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.4189, allocations: 128.2 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.419, allocations: 47.64 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.419, allocations: 25.72 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4192, allocations: 326.8 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.4194, allocations: 67.88 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.4197, allocations: 96.83 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.4201, allocations: 161 kB / 1.36 GB, free: 1.695 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4201, allocations: 3.938 kB / 1.36 GB, free: 1.691 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005427/0.4207, allocations: 197.5 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4207, allocations: 5.406 kB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4207, allocations: 4 kB / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4207, allocations: 3.938 kB / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.4209, allocations: 39.95 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4209, allocations: 4.062 kB / 1.36 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.4211, allocations: 23.94 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.4211, allocations: 4 kB / 1.36 GB, free: 1.41 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.0001259/0.4212, allocations: 137.7 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.4213, allocations: 11.89 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.4213, allocations: 16.78 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.4213, allocations: 0 / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.4213, allocations: 7.984 kB / 1.36 GB, free: 1.23 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.4213, allocations: 15.89 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4213, allocations: 4 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.4215, allocations: 23.97 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.4216, allocations: 19.91 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006529/0.4222, allocations: 276.8 kB / 1.36 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005837/0.4228, allocations: 369.7 kB / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002518/0.423, allocations: 75.92 kB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of sorting global known variables: time 6.773e-05/0.4231, allocations: 103.3 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of Backend: time 4.11e-07/0.4231, allocations: 0 / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006107/0.4237, allocations: 166.3 kB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of SimCode: time 0.0008595/0.4246, allocations: 0.6758 MB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of Templates: time 0.005166/0.4298, allocations: 1.929 MB / 1.364 GB, free: 13.58 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: 9.429418772997451]