Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.002001/0.002001, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.002703/0.002703, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.564/1.564, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.927/2.927, allocations: 389 MB / 0.633 GB, free: 0.9844 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.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.75e-05, allocations: 2.281 kB / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002507/0.002545, allocations: 0.9389 MB / 1.001 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.004103, allocations: 0.9055 MB / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.004253, allocations: 4 kB / 1.002 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.42e-05/0.004337, allocations: 19.73 kB / 1.002 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.004481, allocations: 23.8 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.004626, allocations: 43.95 kB / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.0049, allocations: 176.1 kB / 1.002 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.00512, allocations: 76.88 kB / 1.002 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.005332, allocations: 99.8 kB / 1.002 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.005437, allocations: 51.84 kB / 1.002 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.005477, allocations: 20 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.083e-05/0.005508, allocations: 20 kB / 1.002 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.005552, allocations: 35.86 kB / 1.003 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.005619, allocations: 47.89 kB / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.005955, allocations: 231.2 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005957, allocations: 0 / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005958, allocations: 0 / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.005965, allocations: 4 kB / 1.003 GB, free: 4.551 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008402/0.006805, allocations: 398 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.006852, allocations: 11.98 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.006912, allocations: 16.84 kB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.007148, allocations: 153.9 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.007167, allocations: 8.703 kB / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.007198, allocations: 20.38 kB / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.007692, allocations: 192.6 kB / 1.004 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.007706, allocations: 192 / 1.004 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.007727, allocations: 8.375 kB / 1.004 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.007735, allocations: 4.375 kB / 1.004 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.00831, allocations: 180.1 kB / 1.004 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.009087, allocations: 408 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.009479, allocations: 134.5 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.009755, allocations: 84.8 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.009777, allocations: 15.86 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.009811, allocations: 30.56 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.009812, allocations: 0 / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0008953/0.01071, allocations: 253.4 kB / 1.005 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.01076, allocations: 55.41 kB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.0109, allocations: 137 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.01092, allocations: 29.64 kB / 1.005 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/0.01102, allocations: 128.4 kB / 1.005 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.01106, allocations: 47.58 kB / 1.005 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.01113, allocations: 25.72 kB / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.01128, allocations: 326.8 kB / 1.005 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.01153, allocations: 63.94 kB / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.0118, allocations: 90.75 kB / 1.005 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.01231, allocations: 172.7 kB / 1.006 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01231, allocations: 0 / 1.006 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005831/0.0129, allocations: 201.4 kB / 1.006 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.01292, allocations: 10.19 kB / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01293, allocations: 0 / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.01295, allocations: 0 / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.01318, allocations: 47.89 kB / 1.006 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.01319, allocations: 4 kB / 1.006 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.01332, allocations: 19.92 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.01334, allocations: 8.062 kB / 1.006 GB, free: 1.145 MB / 0.9512 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 (15): * Single equations (assignments): 15 * 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.00013/0.01347, allocations: 126.4 kB / 1.006 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.01352, allocations: 19.84 kB / 1.006 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.01356, allocations: 12.78 kB / 1.006 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.01356, allocations: 4 kB / 1.006 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.01357, allocations: 4 kB / 1.006 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01357, allocations: 0 / 1.006 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.01379, allocations: 161.3 kB / 1.006 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.0138, allocations: 0 / 1.006 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.01398, allocations: 39.91 kB / 1.006 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.01399, allocations: 11.92 kB / 1.006 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01401, allocations: 0 / 1.006 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01401, allocations: 0 / 1.006 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01401, allocations: 0 / 1.006 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/0.01465, allocations: 289.2 kB / 1.007 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.01467, allocations: 15.89 kB / 1.007 GB, free: 428 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01469, allocations: 3.938 kB / 1.007 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.01485, allocations: 19.97 kB / 1.007 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.01491, allocations: 11.97 kB / 1.007 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.01492, allocations: 8 kB / 1.007 GB, free: 384 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.739e-05/0.015, allocations: 107.1 kB / 1.007 GB, free: 276 kB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.015, allocations: 0 / 1.007 GB, free: 276 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002618/0.01526, allocations: 31.89 kB / 1.007 GB, free: 244 kB / 0.9512 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 (13): * Single equations (assignments): 13 * 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.0001374/0.0154, allocations: 107.2 kB / 1.007 GB, free: 124 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005989/0.016, allocations: 155.8 kB / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.016, allocations: 0 / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.01627, allocations: 84 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.01664, allocations: 19.98 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.01733, allocations: 284.2 kB / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01744, allocations: 102.9 kB / 1.007 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.054e-05/0.0175, allocations: 4.5 kB / 1.007 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.01756, allocations: 24.5 kB / 1.007 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.01756, allocations: 0 / 1.007 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of Templates: time 0.004809/0.02236, allocations: 1.41 MB / 1.009 GB, free: 14.07 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.53561231866479]