Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001368/0.001368, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001511/0.001511, allocations: 206.5 kB / 23 MB, free: 4.934 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.353/3.353, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [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.002262/0.002262, allocations: 70.97 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3854, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003449/0.3889, allocations: 1.204 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.3907, allocations: 1.03 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.3909, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.3911, allocations: 35.59 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.3913, allocations: 31.66 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.3916, allocations: 115.9 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.3921, allocations: 344.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004721/0.3926, allocations: 178.4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.3928, allocations: 139.5 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.3931, allocations: 135.4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.3932, allocations: 44 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.391e-05/0.3933, allocations: 48 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3934, allocations: 87.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.3936, allocations: 119.5 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009186/0.3946, allocations: 0.537 MB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.3946, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3946, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.3946, allocations: 0 / 1.331 GB, free: 12.92 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001569/0.3962, allocations: 0.5095 MB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/0.3962, allocations: 12.03 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.3963, allocations: 28.75 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.3968, allocations: 210.7 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.3968, allocations: 21.03 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.3969, allocations: 32.38 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.3977, allocations: 318.5 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3977, allocations: 192 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.3978, allocations: 19.94 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.3978, allocations: 11.94 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007568/0.3985, allocations: 282.4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.3999, allocations: 0.7111 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.4006, allocations: 250.7 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.4009, allocations: 125.2 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.401, allocations: 4 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.401, allocations: 42.48 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.401, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001062/0.4021, allocations: 363.5 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.4021, allocations: 55.41 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.4023, allocations: 139.1 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.4023, allocations: 33.69 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.4025, allocations: 172.5 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.4025, allocations: 83.23 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.4026, allocations: 45.94 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4028, allocations: 330.8 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.4031, allocations: 92.39 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.4034, allocations: 129.1 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.404, allocations: 233 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.404, allocations: 0 / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007593/0.4048, allocations: 281.3 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.4048, allocations: 5.719 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4048, allocations: 4 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4048, allocations: 0 / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.4051, allocations: 59.95 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4051, allocations: 0 / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.4054, allocations: 47.8 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.4054, allocations: 11.94 kB / 1.336 GB, free: 8.137 MB / 1.029 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 (27): * Single equations (assignments): 27 * 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.0001601/0.4055, allocations: 138.4 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.4056, allocations: 19.84 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.4057, allocations: 29.27 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4057, allocations: 0 / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4057, allocations: 0 / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.4057, allocations: 19.78 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.4057, allocations: 8 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.4059, allocations: 23.97 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.406, allocations: 27.89 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008548/0.4068, allocations: 373.8 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007513/0.4076, allocations: 456.4 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003029/0.4079, allocations: 114.5 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.451e-05/0.408, allocations: 113.4 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of Backend: time 8.22e-07/0.408, allocations: 0 / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006903/0.4087, allocations: 214.2 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of SimCode: time 0.00112/0.4098, allocations: 0.8021 MB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of Templates: time 0.006666/0.4165, allocations: 2.731 MB / 1.34 GB, free: 3.047 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.481481687995256]