Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001898/0.001898, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002291/0.002291, allocations: 213.8 kB / 22.99 MB, free: 4.945 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.315/3.315, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_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_latest_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.002101/0.002101, allocations: 71.52 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4025, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002926/0.4055, allocations: 1.136 MB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.4071, allocations: 1.003 MB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.4074, allocations: 4 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.4075, allocations: 27.66 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.4077, allocations: 35.66 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.4079, allocations: 91.92 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.4083, allocations: 319.3 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.4086, allocations: 138 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.4088, allocations: 107.6 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.409, allocations: 107.4 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.409, allocations: 36 kB / 1.368 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.4091, allocations: 36 kB / 1.368 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.4092, allocations: 63.83 kB / 1.368 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.4093, allocations: 103.5 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.4097, allocations: 446.2 kB / 1.368 GB, free: 9.992 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4097, allocations: 4 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4097, allocations: 0 / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.4098, allocations: 0 / 1.368 GB, free: 9.988 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.0009536/0.4107, allocations: 485.8 kB / 1.369 GB, free: 9.477 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4107, allocations: 8.031 kB / 1.369 GB, free: 9.469 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.4108, allocations: 24.8 kB / 1.369 GB, free: 9.445 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.4112, allocations: 214.7 kB / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.4112, allocations: 17.03 kB / 1.369 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.4113, allocations: 24.38 kB / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006602/0.4119, allocations: 258.6 kB / 1.369 GB, free: 8.918 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.412, allocations: 4.188 kB / 1.369 GB, free: 8.914 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.412, allocations: 11.94 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.412, allocations: 11.94 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.4126, allocations: 238.5 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.4137, allocations: 0.6055 MB / 1.37 GB, free: 8.016 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005675/0.4143, allocations: 206.6 kB / 1.37 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.4146, allocations: 108.7 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.4146, allocations: 4 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.4146, allocations: 38.91 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.4146, allocations: 0 / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0009421/0.4156, allocations: 314.9 kB / 1.371 GB, free: 7.332 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4156, allocations: 63.28 kB / 1.371 GB, free: 7.258 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.4158, allocations: 147.7 kB / 1.371 GB, free: 7.105 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4158, allocations: 25.7 kB / 1.371 GB, free: 7.074 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.4159, allocations: 152.6 kB / 1.371 GB, free: 6.922 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.416, allocations: 71.38 kB / 1.371 GB, free: 6.852 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.416, allocations: 37.66 kB / 1.371 GB, free: 6.809 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.4162, allocations: 330.8 kB / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.4165, allocations: 75.92 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.4168, allocations: 111.9 kB / 1.372 GB, free: 6.289 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.4173, allocations: 183.8 kB / 1.372 GB, free: 6.105 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4173, allocations: 0 / 1.372 GB, free: 6.105 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006244/0.418, allocations: 248.1 kB / 1.372 GB, free: 5.859 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.418, allocations: 4 kB / 1.372 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.418, allocations: 4 kB / 1.372 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.418, allocations: 0 / 1.372 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.4183, allocations: 59.92 kB / 1.372 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4183, allocations: 0 / 1.372 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.4184, allocations: 35.8 kB / 1.372 GB, free: 5.758 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.4184, allocations: 7.984 kB / 1.372 GB, free: 5.75 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.000135/0.4186, allocations: 138.9 kB / 1.372 GB, free: 5.605 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.4186, allocations: 11.91 kB / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.4186, allocations: 21.12 kB / 1.372 GB, free: 5.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.4187, allocations: 7.938 kB / 1.372 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4187, allocations: 4 kB / 1.372 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4187, allocations: 7.922 kB / 1.372 GB, free: 5.551 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.4189, allocations: 205.1 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4189, allocations: 0 / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.4192, allocations: 51.95 kB / 1.373 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4192, allocations: 0 / 1.373 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.4192, allocations: 4 kB / 1.373 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4192, allocations: 0 / 1.373 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4192, allocations: 0 / 1.373 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/0.4199, allocations: 339.2 kB / 1.373 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.42, allocations: 15.89 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.42, allocations: 4 kB / 1.373 GB, free: 4.898 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.4201, allocations: 15.98 kB / 1.373 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.4202, allocations: 27.91 kB / 1.373 GB, free: 4.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.4202, allocations: 8 kB / 1.373 GB, free: 4.848 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.637e-05/0.4203, allocations: 117.6 kB / 1.373 GB, free: 4.734 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4203, allocations: 0 / 1.373 GB, free: 4.734 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002745/0.4206, allocations: 51.78 kB / 1.373 GB, free: 4.684 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.000118/0.4207, allocations: 99.25 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006146/0.4213, allocations: 191.8 kB / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4213, allocations: 0 / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.4216, allocations: 109.5 kB / 1.373 GB, free: 4.285 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.422, allocations: 31.98 kB / 1.374 GB, free: 4.254 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008254/0.4228, allocations: 433 kB / 1.374 GB, free: 3.797 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.423, allocations: 137.5 kB / 1.374 GB, free: 3.648 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.423, allocations: 23.44 kB / 1.374 GB, free: 3.625 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.423, allocations: 0 / 1.374 GB, free: 3.625 MB / 1.061 GB Notification: Performance of Templates: time 0.004485/0.4275, allocations: 2.389 MB / 1.376 GB, free: 1.246 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.556040533818305]