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.001508/0.001508, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001833/0.001833, allocations: 164.8 kB / 22.46 MB, free: 5.371 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.517/1.517, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.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 2.926/2.926, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.045e-05/5.264e-05, allocations: 6.219 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002676/0.002729, allocations: 1.216 MB / 1.001 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.004348, allocations: 1.022 MB / 1.002 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.004478, allocations: 4 kB / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.785e-05/0.004566, allocations: 31.59 kB / 1.002 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.004727, allocations: 35.61 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.004926, allocations: 119.9 kB / 1.003 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004307/0.005357, allocations: 356.3 kB / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.005729, allocations: 158.5 kB / 1.003 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.006011, allocations: 199.7 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.006166, allocations: 99.67 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.006233, allocations: 44 kB / 1.003 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.006288, allocations: 48 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.006389, allocations: 87.73 kB / 1.003 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.006505, allocations: 99.75 kB / 1.004 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006006/0.007105, allocations: 0.5568 MB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.007109, allocations: 0 / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00711, allocations: 0 / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.007117, allocations: 0 / 1.004 GB, free: 3.242 MB / 0.9512 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.0009916/0.008108, allocations: 0.5056 MB / 1.005 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.008149, allocations: 8.031 kB / 1.005 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.008224, allocations: 36.7 kB / 1.005 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.008546, allocations: 204.5 kB / 1.005 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.00858, allocations: 24.97 kB / 1.005 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.008629, allocations: 36.36 kB / 1.005 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.009338, allocations: 306.6 kB / 1.005 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.009351, allocations: 192 / 1.005 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.009383, allocations: 20.38 kB / 1.005 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.009395, allocations: 8.375 kB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007912/0.01019, allocations: 286.4 kB / 1.005 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.01139, allocations: 0.7034 MB / 1.006 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/0.01213, allocations: 254.7 kB / 1.006 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.01252, allocations: 139.6 kB / 1.007 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.01254, allocations: 0 / 1.007 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.01258, allocations: 39 kB / 1.007 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.01258, allocations: 0 / 1.007 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25): time 0.001141/0.01372, allocations: 365.9 kB / 1.007 GB, free: 228 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.01378, allocations: 55.34 kB / 1.007 GB, free: 160 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.01396, allocations: 143.9 kB / 1.007 GB, free: 8 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.01402, allocations: 33.64 kB / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.01419, allocations: 168.5 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.01427, allocations: 87.23 kB / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-05/0.01436, allocations: 37.94 kB / 1.007 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002347/0.01459, allocations: 334.7 kB / 1.008 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.01492, allocations: 100.4 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.01527, allocations: 119.4 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.01598, allocations: 238.5 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01599, allocations: 0 / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007662/0.01675, allocations: 285.3 kB / 1.008 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.01677, allocations: 4 kB / 1.008 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01678, allocations: 0 / 1.008 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.0168, allocations: 4 kB / 1.008 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.01711, allocations: 63.94 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.01712, allocations: 7.938 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.01729, allocations: 31.86 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.01731, allocations: 8 kB / 1.009 GB, free: 14.46 MB / 0.9669 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.0001763/0.01749, allocations: 150.4 kB / 1.009 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.01753, allocations: 15.91 kB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.939e-05/0.01759, allocations: 25.27 kB / 1.009 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.0176, allocations: 4 kB / 1.009 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.01761, allocations: 0 / 1.009 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01761, allocations: 0 / 1.009 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.01796, allocations: 249 kB / 1.009 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01796, allocations: 0 / 1.009 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.01827, allocations: 59.95 kB / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.01827, allocations: 4 kB / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.01829, allocations: 4 kB / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01829, allocations: 0 / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01829, allocations: 0 / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.0191, allocations: 379.3 kB / 1.009 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.01912, allocations: 19.84 kB / 1.009 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.01914, allocations: 4 kB / 1.009 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.01933, allocations: 23.97 kB / 1.009 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.01941, allocations: 23.91 kB / 1.009 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.01942, allocations: 4 kB / 1.009 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001086/0.01953, allocations: 106 kB / 1.01 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01953, allocations: 0 / 1.01 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003008/0.01983, allocations: 59.78 kB / 1.01 GB, free: 13.3 MB / 0.9669 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.0001452/0.01997, allocations: 111.2 kB / 1.01 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007239/0.0207, allocations: 231.7 kB / 1.01 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.0207, allocations: 0 / 1.01 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.02104, allocations: 131.9 kB / 1.01 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.02147, allocations: 23.94 kB / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.02253, allocations: 467.2 kB / 1.011 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.02269, allocations: 137.8 kB / 1.011 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000106/0.02279, allocations: 17.48 kB / 1.011 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.02287, allocations: 20.44 kB / 1.011 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.02287, allocations: 8 kB / 1.011 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of Templates: time 0.006018/0.02888, allocations: 1.796 MB / 1.012 GB, free: 10.39 MB / 0.9669 GB " [Timeout remaining time 300] 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: 8.5090252161026]