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.PIIntegralTime.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.001961/0.001961, allocations: 82.48 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.002251/0.002251, allocations: 170.8 kB / 22.47 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.651/1.651, allocations: 177.1 MB / 202.8 MB, free: 9.188 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 3.049/3.049, allocations: 389 MB / 0.633 GB, free: 1.039 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.627e-06/3.627e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.741e-05/4.104e-05, allocations: 9.734 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002756/0.002797, allocations: 0.9094 MB / 1.001 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.004403, allocations: 0.9015 MB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.004543, allocations: 0 / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.31e-05/0.004616, allocations: 15.8 kB / 1.002 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.004765, allocations: 23.8 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.004929, allocations: 47.94 kB / 1.002 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.005195, allocations: 156.2 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.005471, allocations: 73.22 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.005689, allocations: 91.8 kB / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.005791, allocations: 43.86 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.005847, allocations: 16 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.841e-05/0.005876, allocations: 23.94 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.005935, allocations: 39.89 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.006005, allocations: 43.91 kB / 1.002 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.006318, allocations: 215.2 kB / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.006322, allocations: 4 kB / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.42e-07/0.006322, allocations: 0 / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.006336, allocations: 0 / 1.003 GB, free: 4.699 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008289/0.007165, allocations: 377.8 kB / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.007216, allocations: 15.98 kB / 1.003 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.00729, allocations: 20.8 kB / 1.003 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.007598, allocations: 153.5 kB / 1.003 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.007624, allocations: 12.38 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.007656, allocations: 12.38 kB / 1.003 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.008106, allocations: 165.9 kB / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.008121, allocations: 192 / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.008148, allocations: 16.31 kB / 1.003 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.008156, allocations: 4.375 kB / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.008607, allocations: 143.8 kB / 1.004 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008356/0.009442, allocations: 392 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005314/0.009974, allocations: 146.7 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.01021, allocations: 76.8 kB / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.01022, allocations: 0 / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.01026, allocations: 38.56 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.01026, allocations: 4 kB / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0007531/0.01101, allocations: 223.2 kB / 1.004 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.01106, allocations: 55.41 kB / 1.004 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.01118, allocations: 125.7 kB / 1.005 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.01121, allocations: 29.7 kB / 1.005 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.01132, allocations: 120.3 kB / 1.005 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.01137, allocations: 43.66 kB / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.01145, allocations: 29.7 kB / 1.005 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.01162, allocations: 318.8 kB / 1.005 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.01181, allocations: 56.2 kB / 1.005 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.01199, allocations: 55.95 kB / 1.005 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.01237, allocations: 121.9 kB / 1.005 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01237, allocations: 3.938 kB / 1.005 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004454/0.01282, allocations: 163.7 kB / 1.005 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.01284, allocations: 7.938 kB / 1.005 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01284, allocations: 0 / 1.005 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.01286, allocations: 4 kB / 1.005 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.01305, allocations: 39.97 kB / 1.006 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01306, allocations: 0 / 1.006 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.01317, allocations: 23.86 kB / 1.006 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.01318, allocations: 8 kB / 1.006 GB, free: 1.582 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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.0001288/0.01331, allocations: 126.3 kB / 1.006 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.01335, allocations: 11.94 kB / 1.006 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.0134, allocations: 20.38 kB / 1.006 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.0134, allocations: 0 / 1.006 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.01341, allocations: 4 kB / 1.006 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01341, allocations: 0 / 1.006 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.01365, allocations: 169.2 kB / 1.006 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01366, allocations: 0 / 1.006 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.01384, allocations: 35.97 kB / 1.006 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01385, allocations: 0 / 1.006 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.01386, allocations: 4 kB / 1.006 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.01387, allocations: 3.938 kB / 1.006 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01387, allocations: 0 / 1.006 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.01439, allocations: 275.3 kB / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.01441, allocations: 7.953 kB / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.01443, allocations: 0 / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.01456, allocations: 19.92 kB / 1.006 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.01463, allocations: 11.92 kB / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.01464, allocations: 0 / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.973e-05/0.01473, allocations: 99.27 kB / 1.006 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01473, allocations: 4 kB / 1.006 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002694/0.015, allocations: 27.89 kB / 1.006 GB, free: 0.7188 MB / 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 (14): * Single equations (assignments): 14 * 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.0001606/0.01516, allocations: 107.2 kB / 1.006 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000477/0.01564, allocations: 130.2 kB / 1.007 GB, free: 488 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01564, allocations: 3.938 kB / 1.007 GB, free: 484 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.01593, allocations: 71.89 kB / 1.007 GB, free: 412 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.01643, allocations: 19.98 kB / 1.007 GB, free: 392 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.01712, allocations: 274 kB / 1.007 GB, free: 92 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.01726, allocations: 97.62 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.471e-05/0.01733, allocations: 8.484 kB / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.01738, allocations: 12.5 kB / 1.007 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of SimCode: time 8.22e-07/0.01738, allocations: 4 kB / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of Templates: time 0.005047/0.02242, allocations: 1.183 MB / 1.008 GB, free: 14.83 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.817221697419882]