Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001371/0.001371, 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.001532/0.001532, 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.7/1.7, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.413/3.413, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [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.001983/0.001983, allocations: 70.11 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3717, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002604/0.3743, allocations: 1.135 MB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3757, allocations: 1.007 MB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.3758, allocations: 8 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.125e-05/0.3759, allocations: 23.67 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.376, allocations: 35.66 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.3762, allocations: 95.91 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.3765, allocations: 307.4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.3768, allocations: 142 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.3769, allocations: 115.6 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.3771, allocations: 127.4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.3771, allocations: 40 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.389e-05/0.3772, allocations: 36 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.3772, allocations: 67.83 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3773, allocations: 99.53 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.3778, allocations: 446.2 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3778, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3778, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3778, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008146/0.3786, allocations: 481.8 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.3787, allocations: 8.031 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.3787, allocations: 28.75 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.379, allocations: 208.5 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.3791, allocations: 17.03 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.3791, allocations: 24.38 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.3797, allocations: 262.6 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3797, allocations: 192 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.3797, allocations: 15.92 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3797, allocations: 8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006488/0.3804, allocations: 238.4 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.3814, allocations: 0.6016 MB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.382, allocations: 210.7 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.3823, allocations: 108.7 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.3823, allocations: 4 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3823, allocations: 38.55 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.552e-06/0.3823, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0009382/0.3833, allocations: 318.6 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3833, allocations: 51.41 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.3835, allocations: 143.1 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3835, allocations: 29.64 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3836, allocations: 160.6 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.3837, allocations: 67.42 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.3837, allocations: 41.7 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3839, allocations: 326.8 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.3841, allocations: 75.88 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.3844, allocations: 111.5 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.3849, allocations: 191 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3849, allocations: 0 / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006089/0.3856, allocations: 239 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3856, allocations: 7.984 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.3856, allocations: 4 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3856, allocations: 0 / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.3859, allocations: 51.91 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3859, allocations: 0 / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.386, allocations: 35.8 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.386, allocations: 8.031 kB / 1.335 GB, free: 9.133 MB / 1.029 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 (21): * Single equations (assignments): 21 * 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.0001448/0.3862, allocations: 138.4 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.3862, allocations: 11.91 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.3863, allocations: 25.11 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3863, allocations: 0 / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3863, allocations: 0 / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.3863, allocations: 19.78 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.3863, allocations: 8 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.3865, allocations: 15.97 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.3866, allocations: 27.91 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007821/0.3874, allocations: 334.3 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006757/0.388, allocations: 420.1 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002754/0.3883, allocations: 103.8 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.723e-05/0.3884, allocations: 105.3 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of Backend: time 5.41e-07/0.3884, allocations: 0 / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006443/0.389, allocations: 190.2 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009354/0.39, allocations: 0.7666 MB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of Templates: time 0.005923/0.3959, allocations: 2.425 MB / 1.339 GB, free: 4.52 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.634885332001431]