Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001695/0.001695, allocations: 104.5 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.002078/0.002078, allocations: 212.9 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.652/1.652, allocations: 230.5 MB / 252.8 MB, free: 9.133 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.377/3.377, allocations: 0.4899 GB / 0.7915 GB, free: 33.14 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.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_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_12_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.002277/0.002277, allocations: 64.98 kB / 1.149 GB, free: 26.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4382, allocations: 176.1 MB / 1.321 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002247/0.4404, allocations: 0.8741 MB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.4416, allocations: 0.886 MB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.4417, allocations: 0 / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.4417, allocations: 11.86 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.325e-05/0.4418, allocations: 15.81 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.142e-05/0.4419, allocations: 35.95 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.442, allocations: 111.7 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.4422, allocations: 41.05 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.943e-05/0.4423, allocations: 51.83 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.4424, allocations: 51.77 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.4424, allocations: 12 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.4424, allocations: 12 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.4425, allocations: 23.92 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.4425, allocations: 51.72 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.4427, allocations: 135.4 kB / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4427, allocations: 0 / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4427, allocations: 0 / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4427, allocations: 4 kB / 1.324 GB, free: 0.5039 MB / 1.014 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.0007876/0.4435, allocations: 435.1 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4436, allocations: 8.031 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.4436, allocations: 12.89 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.4438, allocations: 200.3 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.4439, allocations: 8.562 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.4439, allocations: 12.31 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.4443, allocations: 129.7 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4443, allocations: 4 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4443, allocations: 3.938 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4443, allocations: 0 / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.4448, allocations: 123.9 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.4455, allocations: 408.6 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.4459, allocations: 106.6 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.4462, allocations: 60.8 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.4462, allocations: 4 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.4463, allocations: 34.56 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.4463, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0008919/0.4472, allocations: 205.5 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4472, allocations: 51.41 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.4474, allocations: 144.1 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.4474, allocations: 29.64 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.4475, allocations: 108 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.4475, allocations: 23.97 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.4476, allocations: 25.7 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4477, allocations: 314.8 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.448, allocations: 51.94 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.4482, allocations: 81.64 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.4487, allocations: 121.6 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4487, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005503/0.4493, allocations: 157.5 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4493, allocations: 6.031 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4493, allocations: 8.031 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4493, allocations: 0 / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.4495, allocations: 31.91 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4495, allocations: 0 / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.4496, allocations: 31.84 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4497, allocations: 4 kB / 1.326 GB, free: 13.38 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 (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.0001114/0.4498, allocations: 117.8 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.4498, allocations: 11.95 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.4498, allocations: 16.64 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4498, allocations: 4 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4498, allocations: 0 / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4499, allocations: 3.938 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.4501, allocations: 209.5 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4501, allocations: 192 / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.4503, allocations: 27.97 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4503, allocations: 3.938 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.4503, allocations: 12 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4503, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4503, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.4509, allocations: 259.6 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.451, allocations: 81.06 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.451, allocations: 0 / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.4512, allocations: 23.97 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.4512, allocations: 11.92 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.4512, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.972e-05/0.4513, allocations: 103.2 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4513, allocations: 0 / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002459/0.4516, allocations: 20 kB / 1.327 GB, free: 12.4 MB / 1.029 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 (8): * Single equations (assignments): 8 * 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.0001404/0.4517, allocations: 103.2 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.4523, allocations: 119.8 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4523, allocations: 64 / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.4525, allocations: 67.88 kB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.4529, allocations: 17.41 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.4535, allocations: 224.3 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.4538, allocations: 0.705 MB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.496e-05/0.4539, allocations: 8 kB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.4539, allocations: 11.44 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4539, allocations: 0 / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of Templates: time 0.004469/0.4584, allocations: 1.219 MB / 1.33 GB, free: 9.922 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.860637112986296]