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.001041/0.001041, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001058/0.001058, allocations: 173 kB / 24.28 MB, free: 276 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 1.026/1.026, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.932/1.932, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 177] 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 3.025e-06/3.025e-06, allocations: 0 / 0.8116 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/3.013e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001728/0.001758, allocations: 0.966 MB / 0.8125 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008297/0.002588, allocations: 0.9287 MB / 0.8134 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.002652, allocations: 7.938 kB / 0.8134 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.221e-05/0.002695, allocations: 20.61 kB / 0.8134 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.883e-05/0.002784, allocations: 12.59 kB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.246e-05/0.002866, allocations: 59.92 kB / 0.8135 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.003021, allocations: 169.8 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.003172, allocations: 68.89 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.00329, allocations: 95.78 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.565e-05/0.003356, allocations: 55.8 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.003386, allocations: 21.53 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.003401, allocations: 16 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.00343, allocations: 39.89 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.003474, allocations: 51.84 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.003611, allocations: 116.9 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003613, allocations: 0 / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003614, allocations: 0 / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.003619, allocations: 0 / 0.8141 GB, free: 15.43 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.0004494/0.004068, allocations: 486 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.004104, allocations: 8.031 kB / 0.8146 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.004158, allocations: 33.94 kB / 0.8146 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.004319, allocations: 160.7 kB / 0.8148 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.004333, allocations: 16.58 kB / 0.8148 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.004351, allocations: 17.22 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.004572, allocations: 141.4 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.00458, allocations: 1.281 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.004594, allocations: 12.38 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.004602, allocations: 4.375 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.004704, allocations: 62.59 kB / 0.815 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.00524, allocations: 463.2 kB / 0.8155 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.005396, allocations: 91.55 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.55e-05/0.005472, allocations: 36.39 kB / 0.8156 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.005485, allocations: 11.94 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.005509, allocations: 37.86 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.005511, allocations: 1.625 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002586/0.00577, allocations: 111.6 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.005804, allocations: 59.41 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.005909, allocations: 185.8 kB / 0.816 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.005925, allocations: 29.7 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.006001, allocations: 175.7 kB / 0.8162 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.006029, allocations: 44.33 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.006079, allocations: 31.38 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.006204, allocations: 0.493 MB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.693e-05/0.006251, allocations: 15.98 kB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.006319, allocations: 53.09 kB / 0.8168 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.006428, allocations: 70.88 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006431, allocations: 0 / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001688/0.0066, allocations: 118.4 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.006612, allocations: 5.219 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.006618, allocations: 4 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.00663, allocations: 0 / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.006762, allocations: 32.77 kB / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.006767, allocations: 0 / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.006826, allocations: 22.14 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.006836, allocations: 4 kB / 0.817 GB, free: 12.23 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 8.203e-05/0.006918, allocations: 160.6 kB / 0.8172 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.006954, allocations: 23.84 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.006984, allocations: 20.7 kB / 0.8172 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.006987, allocations: 11.06 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.006992, allocations: 4 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006995, allocations: 0 / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.00716, allocations: 160.6 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007162, allocations: 0 / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.007252, allocations: 31.98 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007255, allocations: 3.938 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.007264, allocations: 0 / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.007265, allocations: 1.25 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.007268, allocations: 7.984 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.007453, allocations: 243.8 kB / 0.8177 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.007466, allocations: 16.47 kB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.007483, allocations: 3.938 kB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.007562, allocations: 16.55 kB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.007616, allocations: 17.66 kB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.007622, allocations: 4 kB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.007674, allocations: 138.1 kB / 0.8179 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007674, allocations: 0 / 0.8179 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002444/0.007919, allocations: 35.89 kB / 0.8179 GB, free: 11.29 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 8.585e-05/0.008005, allocations: 96.44 kB / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.00816, allocations: 72.69 kB / 0.818 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008161, allocations: 0 / 0.818 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/0.008225, allocations: 43.64 kB / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.008514, allocations: 21.92 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.009016, allocations: 288.9 kB / 0.8184 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.009062, allocations: 67.34 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.983e-05/0.009112, allocations: 10.58 kB / 0.8185 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.009153, allocations: 17.16 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.009154, allocations: 3.188 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.003771/0.01292, allocations: 1.441 MB / 0.8199 GB, free: 9.266 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.347202636068687]