Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001794/0.001794, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00233/0.00233, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.673/1.673, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.433/3.433, allocations: 0.5049 GB / 0.8065 GB, free: 23.01 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.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_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_latest_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.002155/0.002155, allocations: 72.84 kB / 1.172 GB, free: 17.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5095, allocations: 180.2 MB / 1.348 GB, free: 9.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003962/0.5135, allocations: 1.356 MB / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.5156, allocations: 1.03 MB / 1.351 GB, free: 7.066 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.5158, allocations: 7.938 kB / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.5159, allocations: 31.59 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.5161, allocations: 31.66 kB / 1.351 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.5163, allocations: 119.9 kB / 1.351 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.5167, allocations: 344.6 kB / 1.351 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.5172, allocations: 170 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.5174, allocations: 143.5 kB / 1.351 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.5176, allocations: 139.4 kB / 1.351 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.312e-05/0.5176, allocations: 44 kB / 1.352 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.5177, allocations: 44 kB / 1.352 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.5178, allocations: 79.77 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.518, allocations: 155.3 kB / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.5186, allocations: 0.5409 MB / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5186, allocations: 0 / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5187, allocations: 0 / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.5187, allocations: 0 / 1.352 GB, free: 5.238 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001162/0.5198, allocations: 0.5809 MB / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.5199, allocations: 15.97 kB / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.52, allocations: 32.75 kB / 1.353 GB, free: 4.559 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.5204, allocations: 272.5 kB / 1.353 GB, free: 4.254 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.5204, allocations: 21.03 kB / 1.353 GB, free: 4.234 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.5205, allocations: 32.38 kB / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.5213, allocations: 318.6 kB / 1.354 GB, free: 3.883 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5213, allocations: 4.188 kB / 1.354 GB, free: 3.879 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.5213, allocations: 23.88 kB / 1.354 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.5213, allocations: 8 kB / 1.354 GB, free: 3.848 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.5221, allocations: 278.5 kB / 1.354 GB, free: 3.578 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.5235, allocations: 0.8779 MB / 1.355 GB, free: 2.648 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/0.5242, allocations: 246.7 kB / 1.355 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/0.5246, allocations: 136.8 kB / 1.355 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.5246, allocations: 3.938 kB / 1.355 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.5246, allocations: 42.5 kB / 1.355 GB, free: 2.207 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.5246, allocations: 3.938 kB / 1.355 GB, free: 2.203 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001182/0.5258, allocations: 358.4 kB / 1.355 GB, free: 1.848 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.5259, allocations: 59.34 kB / 1.356 GB, free: 1.777 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.526, allocations: 139.7 kB / 1.356 GB, free: 1.633 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.5261, allocations: 33.7 kB / 1.356 GB, free: 1.594 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.5262, allocations: 168.5 kB / 1.356 GB, free: 1.426 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.017e-05/0.5263, allocations: 83.28 kB / 1.356 GB, free: 1.344 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.5264, allocations: 37.95 kB / 1.356 GB, free: 1.297 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.5266, allocations: 326.8 kB / 1.356 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.5269, allocations: 96.39 kB / 1.356 GB, free: 0.875 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.5272, allocations: 132.5 kB / 1.356 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.5278, allocations: 234.6 kB / 1.357 GB, free: 0.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5278, allocations: 0 / 1.357 GB, free: 0.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007317/0.5286, allocations: 281.3 kB / 1.357 GB, free: 224 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.5286, allocations: 7.984 kB / 1.357 GB, free: 216 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5286, allocations: 0 / 1.357 GB, free: 216 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.5286, allocations: 4 kB / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.5289, allocations: 67.89 kB / 1.357 GB, free: 144 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.529, allocations: 3.938 kB / 1.357 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.5291, allocations: 27.94 kB / 1.357 GB, free: 112 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.5291, allocations: 12 kB / 1.357 GB, free: 100 kB / 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 (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.0002216/0.5294, allocations: 149.8 kB / 1.357 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.5294, allocations: 19.89 kB / 1.357 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.508e-05/0.5295, allocations: 17.19 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.5295, allocations: 4 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.5295, allocations: 3.938 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5295, allocations: 4 kB / 1.357 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.53, allocations: 357.2 kB / 1.358 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.53, allocations: 0 / 1.358 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.5303, allocations: 59.89 kB / 1.358 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5303, allocations: 0 / 1.358 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.5303, allocations: 8 kB / 1.358 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5303, allocations: 0 / 1.358 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5303, allocations: 3.938 kB / 1.358 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.5311, allocations: 371.4 kB / 1.358 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.5312, allocations: 96.95 kB / 1.358 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.5312, allocations: 7.938 kB / 1.358 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.5314, allocations: 27.97 kB / 1.358 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.5315, allocations: 27.84 kB / 1.358 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.5315, allocations: 4 kB / 1.358 GB, free: 14.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.066e-05/0.5316, allocations: 108.6 kB / 1.358 GB, free: 14.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.5316, allocations: 3.938 kB / 1.358 GB, free: 14.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003093/0.5319, allocations: 59.73 kB / 1.358 GB, free: 14.69 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 (25): * Single equations (assignments): 25 * 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.000177/0.5321, allocations: 99.25 kB / 1.358 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007369/0.5328, allocations: 235.7 kB / 1.359 GB, free: 14.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5328, allocations: 3.938 kB / 1.359 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.5331, allocations: 115.9 kB / 1.359 GB, free: 14.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.5336, allocations: 35.67 kB / 1.359 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.5348, allocations: 467.8 kB / 1.359 GB, free: 13.72 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.5353, allocations: 0.7552 MB / 1.36 GB, free: 12.94 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.413e-05/0.5354, allocations: 17.55 kB / 1.36 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.5355, allocations: 23.44 kB / 1.36 GB, free: 12.9 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.5355, allocations: 4 kB / 1.36 GB, free: 12.9 MB / 1.061 GB Notification: Performance of Templates: time 0.006298/0.5418, allocations: 1.877 MB / 1.362 GB, free: 11.07 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.926685936748981]