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.0009494/0.0009494, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.0009946/0.0009946, allocations: 169 kB / 23.28 MB, free: 1.219 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.9605/0.9605, allocations: 177.2 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.337/2.337, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 1.573e-06/1.573e-06, allocations: 0 / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.626e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001846/0.001862, allocations: 0.9646 MB / 0.8907 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003013, allocations: 0.9325 MB / 0.8916 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-05/0.003093, allocations: 4 kB / 0.8916 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.7e-05/0.00314, allocations: 15.8 kB / 0.8916 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.003247, allocations: 19.8 kB / 0.8917 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.003347, allocations: 55.94 kB / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.003517, allocations: 172.1 kB / 0.8919 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.003684, allocations: 68.88 kB / 0.8919 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.003834, allocations: 99.8 kB / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.617e-05/0.00391, allocations: 55.8 kB / 0.8921 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.003938, allocations: 20 kB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.003958, allocations: 20 kB / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.003992, allocations: 39.89 kB / 0.8922 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.004043, allocations: 55.83 kB / 0.8922 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.004198, allocations: 111.6 kB / 0.8923 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.0042, allocations: 0 / 0.8923 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004201, allocations: 3.938 kB / 0.8923 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004205, allocations: 0 / 0.8923 GB, free: 7.086 MB / 0.8542 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.0004857/0.00469, allocations: 488.2 kB / 0.8928 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.004733, allocations: 12.62 kB / 0.8928 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.004783, allocations: 32.8 kB / 0.8928 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.004929, allocations: 155 kB / 0.893 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.004943, allocations: 12.7 kB / 0.893 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.004964, allocations: 16.38 kB / 0.893 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.005182, allocations: 129.5 kB / 0.8931 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.005191, allocations: 192 / 0.8931 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.005206, allocations: 8.375 kB / 0.8931 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.005214, allocations: 4.375 kB / 0.8932 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.005298, allocations: 56.36 kB / 0.8932 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.005823, allocations: 431.8 kB / 0.8936 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.005949, allocations: 91 kB / 0.8937 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.005999, allocations: 35.66 kB / 0.8937 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.006011, allocations: 4 kB / 0.8937 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.006034, allocations: 37.33 kB / 0.8938 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.006036, allocations: 0 / 0.8938 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002092/0.006245, allocations: 109.8 kB / 0.8939 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.006272, allocations: 51.41 kB / 0.8939 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.00637, allocations: 197.8 kB / 0.8941 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.006382, allocations: 25.7 kB / 0.8941 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.006463, allocations: 179 kB / 0.8943 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.00649, allocations: 39.64 kB / 0.8944 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.00654, allocations: 35.36 kB / 0.8944 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.006671, allocations: 0.4923 MB / 0.8949 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.006703, allocations: 11.98 kB / 0.8949 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.006754, allocations: 47.03 kB / 0.8949 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.561e-05/0.00684, allocations: 69.48 kB / 0.895 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006842, allocations: 0 / 0.895 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001433/0.006985, allocations: 97.56 kB / 0.8951 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.007, allocations: 11.94 kB / 0.8951 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007005, allocations: 0 / 0.8951 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.007018, allocations: 0 / 0.8951 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.007141, allocations: 31.98 kB / 0.8951 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.007148, allocations: 11.88 kB / 0.8951 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/0.007206, allocations: 23.94 kB / 0.8952 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.007213, allocations: 0 / 0.8952 GB, free: 3.969 MB / 0.8542 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.007e-05/0.007293, allocations: 160.6 kB / 0.8953 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.007326, allocations: 19.89 kB / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.007357, allocations: 12.78 kB / 0.8953 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.007361, allocations: 7.984 kB / 0.8954 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.007364, allocations: 0 / 0.8954 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.007367, allocations: 0 / 0.8954 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.007528, allocations: 137.2 kB / 0.8955 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.00753, allocations: 4 kB / 0.8955 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.636e-05/0.007627, allocations: 31.92 kB / 0.8955 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007629, allocations: 0 / 0.8955 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.007638, allocations: 8 kB / 0.8955 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.007641, allocations: 7.938 kB / 0.8955 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.007644, allocations: 3.984 kB / 0.8955 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.00782, allocations: 231.9 kB / 0.8958 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.007832, allocations: 11.89 kB / 0.8958 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.007847, allocations: 8 kB / 0.8958 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.007925, allocations: 11.92 kB / 0.8958 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.007967, allocations: 11.98 kB / 0.8958 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.007973, allocations: 8 kB / 0.8958 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.008025, allocations: 141.8 kB / 0.8959 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008025, allocations: 0 / 0.8959 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002379/0.008263, allocations: 27.89 kB / 0.896 GB, free: 3.082 MB / 0.8542 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 8.638e-05/0.00835, allocations: 107.2 kB / 0.8961 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.008474, allocations: 66.7 kB / 0.8961 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.008476, allocations: 0 / 0.8961 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-05/0.008531, allocations: 39.67 kB / 0.8962 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.008804, allocations: 24.05 kB / 0.8962 GB, free: 2.836 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.009449, allocations: 282.7 kB / 0.8965 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.009491, allocations: 71.33 kB / 0.8965 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.914e-05/0.00954, allocations: 8.5 kB / 0.8965 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.009654, allocations: 86.19 kB / 0.8966 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.009655, allocations: 0 / 0.8966 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of Templates: time 0.003399/0.01305, allocations: 1.589 MB / 0.8982 GB, free: 0.8281 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.341691232286394]