Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008545/0.0008545, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001022/0.001022, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9161/0.9161, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.819/1.819, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.429e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001756/0.00179, allocations: 0.9229 MB / 0.9831 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.00273, allocations: 0.9172 MB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.002799, allocations: 0 / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.722e-05/0.002846, allocations: 19.73 kB / 0.984 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.594e-05/0.002942, allocations: 27.72 kB / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 9.436e-05/0.003037, allocations: 47.95 kB / 0.9841 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.003193, allocations: 176.1 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.003365, allocations: 68.88 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.003489, allocations: 99.8 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.003555, allocations: 55.8 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.003589, allocations: 20 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.003603, allocations: 20 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.003634, allocations: 35.91 kB / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.003678, allocations: 51.83 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.003883, allocations: 227.2 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.003886, allocations: 4 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.003888, allocations: 0 / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.003893, allocations: 0 / 0.9848 GB, free: 15.36 MB / 0.948 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.0005199/0.004413, allocations: 400.5 kB / 0.9852 GB, free: 14.94 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.004452, allocations: 12.03 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.004492, allocations: 16.84 kB / 0.9852 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.004653, allocations: 153.9 kB / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.004668, allocations: 12.7 kB / 0.9854 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.004687, allocations: 20.31 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.00498, allocations: 192.7 kB / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.00499, allocations: 4.125 kB / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.005004, allocations: 4.375 kB / 0.9856 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.005011, allocations: 8.359 kB / 0.9856 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.005304, allocations: 176.1 kB / 0.9858 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.005851, allocations: 403.9 kB / 0.9862 GB, free: 13.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.00608, allocations: 138.5 kB / 0.9863 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.006221, allocations: 88.8 kB / 0.9864 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.006239, allocations: 3.938 kB / 0.9864 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.006265, allocations: 34.56 kB / 0.9864 GB, free: 13.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.006267, allocations: 0 / 0.9864 GB, free: 13.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0004936/0.00676, allocations: 257 kB / 0.9867 GB, free: 13.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.006795, allocations: 51.41 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/0.006884, allocations: 137 kB / 0.9869 GB, free: 13.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.006897, allocations: 29.64 kB / 0.9869 GB, free: 13.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.006971, allocations: 132.3 kB / 0.987 GB, free: 12.99 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.006997, allocations: 47.58 kB / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.007039, allocations: 29.72 kB / 0.9871 GB, free: 12.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.00712, allocations: 318.8 kB / 0.9874 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.007249, allocations: 67.94 kB / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.007384, allocations: 94.5 kB / 0.9875 GB, free: 12.42 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.007639, allocations: 166.7 kB / 0.9877 GB, free: 12.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007642, allocations: 0 / 0.9877 GB, free: 12.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002912/0.007933, allocations: 197.4 kB / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.007948, allocations: 4 kB / 0.9879 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.007954, allocations: 4.062 kB / 0.9879 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.00797, allocations: 4 kB / 0.9879 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.008096, allocations: 47.89 kB / 0.988 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.008102, allocations: 0 / 0.988 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.008164, allocations: 19.94 kB / 0.988 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.008172, allocations: 4 kB / 0.988 GB, free: 11.96 MB / 0.948 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 8.461e-05/0.008257, allocations: 133.8 kB / 0.9881 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.008275, allocations: 15.89 kB / 0.9881 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.008302, allocations: 12.78 kB / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.008305, allocations: 4 kB / 0.9881 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.008311, allocations: 0 / 0.9881 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.008314, allocations: 0 / 0.9881 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.008453, allocations: 169.2 kB / 0.9883 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.008455, allocations: 0 / 0.9883 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.638e-05/0.008541, allocations: 43.89 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.008543, allocations: 3.938 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.008552, allocations: 0 / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008553, allocations: 4 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.008555, allocations: 4 kB / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.008877, allocations: 283.4 kB / 0.9886 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.008891, allocations: 7.953 kB / 0.9886 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.008906, allocations: 3.938 kB / 0.9886 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.008979, allocations: 27.97 kB / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.009034, allocations: 15.91 kB / 0.9887 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.009039, allocations: 4 kB / 0.9887 GB, free: 11.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.009091, allocations: 99.2 kB / 0.9888 GB, free: 11.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.009091, allocations: 0 / 0.9888 GB, free: 11.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001781/0.009269, allocations: 31.95 kB / 0.9888 GB, free: 11.06 MB / 0.948 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.0001417/0.009411, allocations: 99.25 kB / 0.9889 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.009744, allocations: 162.5 kB / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.009746, allocations: 0 / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.009879, allocations: 87.81 kB / 0.9891 GB, free: 10.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.01034, allocations: 26.08 kB / 0.9892 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.01088, allocations: 311.6 kB / 0.9895 GB, free: 10.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.393e-05/0.01096, allocations: 102.9 kB / 0.9896 GB, free: 10.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.01101, allocations: 16.5 kB / 0.9896 GB, free: 10.22 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/0.01101, allocations: 0 / 0.9896 GB, free: 10.22 MB / 0.948 GB Notification: Performance of Templates: time 0.002593/0.0136, allocations: 1.686 MB / 0.9912 GB, free: 8.543 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.82030838355422]