Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001825/0.001825, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002343/0.002343, allocations: 218.3 kB / 22.24 MB, free: 5.254 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.789 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.428/3.428, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_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_12_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.002234/0.002234, allocations: 71.73 kB / 1.154 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4207, allocations: 176.1 MB / 1.326 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002817/0.4235, allocations: 1.207 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.4249, allocations: 1.03 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.425, allocations: 4 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.4251, allocations: 31.59 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.4253, allocations: 31.61 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.4254, allocations: 115.9 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003816/0.4258, allocations: 352.4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.4261, allocations: 182.4 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.4263, allocations: 131.6 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.4265, allocations: 135.4 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.634e-05/0.4265, allocations: 44 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.4266, allocations: 48 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.4267, allocations: 79.77 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.4268, allocations: 123.5 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.4273, allocations: 0.5331 MB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4273, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4273, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4273, allocations: 4 kB / 1.33 GB, free: 12.93 MB / 1.029 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.0009818/0.4283, allocations: 0.5056 MB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.4284, allocations: 8.031 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.4284, allocations: 36.69 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.4288, allocations: 214.7 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.4288, allocations: 25.03 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.4288, allocations: 28.38 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.4295, allocations: 310.6 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4295, allocations: 192 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.4296, allocations: 19.94 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.4296, allocations: 8 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007489/0.4303, allocations: 286.4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.4316, allocations: 0.6994 MB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/0.4323, allocations: 265.5 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.4326, allocations: 129.2 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.4326, allocations: 0 / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.4327, allocations: 46.48 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.4327, allocations: 4 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001042/0.4337, allocations: 361.3 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.4338, allocations: 51.41 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.4339, allocations: 147 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.4339, allocations: 29.7 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.4341, allocations: 172.5 kB / 1.333 GB, free: 9.473 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.903e-05/0.4342, allocations: 87.22 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.4342, allocations: 41.94 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.4344, allocations: 326.8 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.4347, allocations: 96.39 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.435, allocations: 132.1 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006178/0.4357, allocations: 229 kB / 1.334 GB, free: 8.547 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4357, allocations: 4 kB / 1.334 GB, free: 8.543 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007359/0.4364, allocations: 283.5 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4364, allocations: 4 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4364, allocations: 0 / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4364, allocations: 4 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.4367, allocations: 63.95 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4367, allocations: 4 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.4369, allocations: 35.8 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.4369, allocations: 4 kB / 1.335 GB, free: 8.148 MB / 1.029 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.0001637/0.4371, allocations: 146.4 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.4371, allocations: 15.91 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.845e-05/0.4372, allocations: 29.2 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.4372, allocations: 8 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4372, allocations: 0 / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4372, allocations: 3.938 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.4375, allocations: 237 kB / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4375, allocations: 0 / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.4378, allocations: 59.95 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4378, allocations: 4 kB / 1.335 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4378, allocations: 4 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4378, allocations: 0 / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4378, allocations: 4 kB / 1.335 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.4385, allocations: 382.6 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.4386, allocations: 11.91 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.4386, allocations: 7.938 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.4388, allocations: 23.97 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.4388, allocations: 23.97 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.4388, allocations: 4 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.012e-05/0.4389, allocations: 108.9 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4389, allocations: 0 / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000302/0.4392, allocations: 59.78 kB / 1.336 GB, free: 6.984 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 (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.0002124/0.4394, allocations: 107.2 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006848/0.4401, allocations: 227.8 kB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4401, allocations: 0 / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.4405, allocations: 123.8 kB / 1.336 GB, free: 6.527 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4409, allocations: 32.11 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.4419, allocations: 467.9 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.4421, allocations: 145.7 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.945e-05/0.4422, allocations: 13.48 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.4422, allocations: 19.44 kB / 1.337 GB, free: 5.816 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4422, allocations: 0 / 1.337 GB, free: 5.816 MB / 1.029 GB Notification: Performance of Templates: time 0.005964/0.4482, allocations: 2.104 MB / 1.339 GB, free: 3.75 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.857857897877693]