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.002023/0.002023, allocations: 97.11 kB / 19.71 MB, free: 2.109 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.002478/0.002478, allocations: 215.8 kB / 23.01 MB, free: 4.918 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.426/3.426, allocations: 0.505 GB / 0.8109 GB, free: 23.61 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.002055/0.002055, allocations: 66.88 kB / 1.178 GB, free: 16.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4303, allocations: 180.2 MB / 1.354 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002649/0.4329, allocations: 0.8272 MB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.4343, allocations: 0.8744 MB / 1.356 GB, free: 5.781 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.4344, allocations: 0 / 1.356 GB, free: 5.781 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.172e-05/0.4344, allocations: 15.86 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.4345, allocations: 15.81 kB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.303e-05/0.4346, allocations: 35.95 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.4348, allocations: 115.8 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.435, allocations: 41.22 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.4351, allocations: 47.78 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.565e-05/0.4352, allocations: 51.77 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.4352, allocations: 12 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.253e-05/0.4352, allocations: 12 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.4353, allocations: 23.92 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.4354, allocations: 47.8 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.4356, allocations: 139.4 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4356, allocations: 0 / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4356, allocations: 0 / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.4356, allocations: 0 / 1.356 GB, free: 5.234 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.0007443/0.4363, allocations: 358 kB / 1.357 GB, free: 4.852 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.4364, allocations: 12.03 kB / 1.357 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.4364, allocations: 12.89 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.4367, allocations: 150.4 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4367, allocations: 8.562 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4367, allocations: 4.375 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.4371, allocations: 131 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4371, allocations: 0 / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.4371, allocations: 8 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4372, allocations: 0 / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.4376, allocations: 123.9 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.4383, allocations: 320.3 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.4387, allocations: 110.6 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.4389, allocations: 60.81 kB / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4389, allocations: 3.984 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.439, allocations: 30.56 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.439, allocations: 4 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007659/0.4397, allocations: 201.5 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.4398, allocations: 51.41 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.4399, allocations: 127.9 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.4399, allocations: 37.7 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/0.44, allocations: 108.1 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.4401, allocations: 31.73 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.4401, allocations: 25.64 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4403, allocations: 322.8 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.4405, allocations: 51.94 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.4407, allocations: 69.66 kB / 1.359 GB, free: 2.746 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.4411, allocations: 121.6 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4411, allocations: 0 / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000481/0.4416, allocations: 161.5 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4416, allocations: 4 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4416, allocations: 0 / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4417, allocations: 4 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.4418, allocations: 27.97 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4419, allocations: 0 / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.442, allocations: 31.94 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.442, allocations: 4.188 kB / 1.359 GB, free: 2.387 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.000119/0.4421, allocations: 121.7 kB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.4421, allocations: 11.89 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.4422, allocations: 20.64 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4422, allocations: 0 / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4422, allocations: 0 / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.4422, allocations: 11.91 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.4422, allocations: 3.938 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.4424, allocations: 31.97 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.4424, allocations: 11.97 kB / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006138/0.4431, allocations: 244.8 kB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005401/0.4436, allocations: 326.6 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002188/0.4438, allocations: 68.41 kB / 1.36 GB, free: 1.52 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.336e-05/0.4439, allocations: 101.9 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of Backend: time 5.71e-07/0.4439, allocations: 4 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005871/0.4445, allocations: 152.3 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of SimCode: time 0.0007494/0.4452, allocations: 0.6434 MB / 1.361 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of Templates: time 0.004907/0.4501, allocations: 1.606 MB / 1.362 GB, free: 15.02 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/jenkins1/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: 9.512874379004643]