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.00133/0.00133, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001501/0.001501, allocations: 215.2 kB / 20.1 MB, free: 3.051 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.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.977/2.977, allocations: 0.49 GB / 0.7923 GB, free: 1.254 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.002048/0.002048, allocations: 71.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.173, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002334/1.175, allocations: 1.27 MB / 1.323 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001104/1.176, allocations: 1.003 MB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.746e-05/1.176, allocations: 2.719 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.165e-05/1.176, allocations: 25.69 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/1.177, allocations: 32.2 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/1.177, allocations: 98.06 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/1.177, allocations: 316.1 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/1.177, allocations: 148 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/1.177, allocations: 116.9 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.605e-05/1.177, allocations: 116.1 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/1.177, allocations: 36.34 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/1.177, allocations: 35.16 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/1.177, allocations: 67.61 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/1.178, allocations: 127.4 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/1.178, allocations: 445.5 kB / 1.326 GB, free: 22.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.178, allocations: 2.688 kB / 1.326 GB, free: 22.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.382e-06/1.178, allocations: 0 / 1.326 GB, free: 22.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.443e-06/1.178, allocations: 0 / 1.326 GB, free: 22.63 MB / 1.061 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.000748/1.179, allocations: 0.543 MB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/1.179, allocations: 8.438 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/1.179, allocations: 30.84 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/1.179, allocations: 267 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.179, allocations: 23.75 kB / 1.327 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/1.179, allocations: 25.25 kB / 1.327 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/1.179, allocations: 254.3 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.179, allocations: 192 / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/1.18, allocations: 14.59 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.18, allocations: 8.219 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/1.18, allocations: 242.1 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/1.181, allocations: 0.7505 MB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005634/1.182, allocations: 209.7 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/1.182, allocations: 111 kB / 1.328 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/1.182, allocations: 2.094 kB / 1.328 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/1.182, allocations: 36.22 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.223e-06/1.182, allocations: 0 / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0009566/1.183, allocations: 323.2 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/1.183, allocations: 57.16 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.183, allocations: 139.2 kB / 1.329 GB, free: 20.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/1.183, allocations: 30.95 kB / 1.329 GB, free: 20.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/1.183, allocations: 154.9 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/1.183, allocations: 73.22 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/1.183, allocations: 42.72 kB / 1.329 GB, free: 20.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.71e-05/1.183, allocations: 326 kB / 1.329 GB, free: 20.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/1.184, allocations: 82.09 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/1.184, allocations: 105.3 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/1.185, allocations: 187.6 kB / 1.33 GB, free: 20 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/1.185, allocations: 0 / 1.33 GB, free: 20 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006799/1.185, allocations: 243 kB / 1.33 GB, free: 19.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.185, allocations: 4.812 kB / 1.33 GB, free: 19.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/1.185, allocations: 1.391 kB / 1.33 GB, free: 19.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/1.185, allocations: 2.094 kB / 1.33 GB, free: 19.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/1.186, allocations: 60.56 kB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.186, allocations: 5.734 kB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/1.186, allocations: 28.45 kB / 1.33 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/1.186, allocations: 2.688 kB / 1.33 GB, free: 19.88 MB / 1.061 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.0001005/1.186, allocations: 138.5 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/1.186, allocations: 14.09 kB / 1.33 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/1.186, allocations: 25.78 kB / 1.33 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.186, allocations: 2.375 kB / 1.33 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.186, allocations: 3.938 kB / 1.33 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.186, allocations: 6.078 kB / 1.33 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/1.186, allocations: 309.4 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/1.186, allocations: 0 / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/1.187, allocations: 48.09 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.187, allocations: 2.047 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/1.187, allocations: 4 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.187, allocations: 5.094 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.187, allocations: 4.734 kB / 1.33 GB, free: 19.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/1.187, allocations: 336.2 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/1.187, allocations: 98.48 kB / 1.331 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/1.187, allocations: 1.609 kB / 1.331 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/1.188, allocations: 24.61 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/1.188, allocations: 20.22 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/1.188, allocations: 4.188 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.103e-05/1.188, allocations: 108.8 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.188, allocations: 0 / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002938/1.188, allocations: 50.72 kB / 1.331 GB, free: 19.02 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 (20): * Single equations (assignments): 20 * 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.0001241/1.188, allocations: 112.1 kB / 1.331 GB, free: 18.92 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006703/1.189, allocations: 192.7 kB / 1.331 GB, free: 18.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.189, allocations: 0 / 1.331 GB, free: 18.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/1.189, allocations: 104.6 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/1.189, allocations: 28.03 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008248/1.19, allocations: 441.7 kB / 1.332 GB, free: 18.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/1.19, allocations: 0.7444 MB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/1.191, allocations: 16.72 kB / 1.333 GB, free: 17.83 MB / 1.061 GB Notification: Performance of SimCode: time 2.5e-07/1.191, allocations: 1.031 kB / 1.333 GB, free: 17.83 MB / 1.061 GB Notification: Performance of Templates: time 0.005445/1.196, allocations: 2.313 MB / 1.335 GB, free: 17.57 MB / 1.061 GB " [Timeout remaining time 299] 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: 11.861521294005797]