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.0009742/0.0009742, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009222/0.0009222, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9686/0.9686, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.84/1.84, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.404e-06/2.404e-06, allocations: 0 / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.452e-05, allocations: 6.797 kB / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.004916/0.00494, allocations: 0.9589 MB / 0.813 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.006004, allocations: 0.9259 MB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.00608, allocations: 4.562 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.006128, allocations: 16.52 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.00623, allocations: 19.73 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 9.201e-05/0.006322, allocations: 56.53 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.00649, allocations: 173 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.006651, allocations: 72.88 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.006785, allocations: 92.81 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.006857, allocations: 55.81 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.006884, allocations: 16 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.006902, allocations: 21 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.006937, allocations: 39.83 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.006983, allocations: 48.69 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.007132, allocations: 123.5 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007134, allocations: 1.688 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.12e-07/0.007135, allocations: 0 / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.007139, allocations: 0 / 0.8146 GB, free: 14.82 MB / 0.7761 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.003484/0.01062, allocations: 481.8 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.01066, allocations: 12.02 kB / 0.8151 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.01071, allocations: 32.84 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.01085, allocations: 148.4 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.01086, allocations: 14.3 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.01088, allocations: 16.36 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.01109, allocations: 137.4 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.0111, allocations: 0.7188 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.01111, allocations: 9.969 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.01112, allocations: 4.375 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.0112, allocations: 44.5 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.01168, allocations: 444.8 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.0118, allocations: 91.8 kB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.01184, allocations: 27.67 kB / 0.816 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.01186, allocations: 5.156 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.01188, allocations: 41.58 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.01188, allocations: 1.375 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0001948/0.01208, allocations: 105.6 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.0121, allocations: 55.41 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.0122, allocations: 185.8 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.01221, allocations: 31.45 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.01229, allocations: 175 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.01232, allocations: 43.62 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.0125, allocations: 31.36 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.01262, allocations: 0.4923 MB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.01264, allocations: 8.656 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.734e-05/0.01269, allocations: 50.16 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.782e-05/0.01277, allocations: 72.12 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01277, allocations: 3.938 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001287/0.0129, allocations: 105.5 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01291, allocations: 11.94 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01292, allocations: 3.984 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.01293, allocations: 0 / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.01303, allocations: 29.48 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.01304, allocations: 7.938 kB / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.01309, allocations: 19.92 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.0131, allocations: 0.5 kB / 0.8174 GB, free: 11.72 MB / 0.7761 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 7.674e-05/0.01317, allocations: 161.1 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.0132, allocations: 20.41 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.01323, allocations: 12.78 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01323, allocations: 5.375 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01324, allocations: 0 / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01324, allocations: 3.984 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.0134, allocations: 137.2 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.0134, allocations: 6.594 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.01347, allocations: 27.92 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01348, allocations: 0 / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.01348, allocations: 0 / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01348, allocations: 7.938 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01349, allocations: 0 / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.01364, allocations: 243.3 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.01365, allocations: 15.84 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.01366, allocations: 4.719 kB / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.01373, allocations: 16.52 kB / 0.818 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.01377, allocations: 11.98 kB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.01377, allocations: 9.125 kB / 0.8181 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.01382, allocations: 135.2 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01382, allocations: 0 / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002232/0.01404, allocations: 32.89 kB / 0.8182 GB, free: 10.84 MB / 0.7761 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 6.78e-05/0.01411, allocations: 108 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.01421, allocations: 62.66 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.01422, allocations: 4 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.597e-05/0.01426, allocations: 35.61 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.0145, allocations: 23.55 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.01488, allocations: 288.8 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.01492, allocations: 71.33 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.33e-05/0.01496, allocations: 7.094 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.01504, allocations: 90.19 kB / 0.8189 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.01504, allocations: 1.344 kB / 0.8189 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.00632/0.02136, allocations: 1.573 MB / 0.8204 GB, free: 8.617 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] 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","",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.040453445632011]