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.001009/0.001009, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001274/0.001274, allocations: 165 kB / 24.16 MB, free: 332 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.024/1.024, allocations: 177.2 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.983/1.983, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.816e-05, allocations: 5.328 kB / 0.7601 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002587/0.002615, allocations: 0.9988 MB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.004088, allocations: 0.943 MB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.00415, allocations: 0.875 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.004189, allocations: 15.8 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.159e-05/0.00427, allocations: 21.81 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.121e-05/0.004341, allocations: 51.94 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.004473, allocations: 174.7 kB / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.004598, allocations: 75.77 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.004708, allocations: 99.73 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.004768, allocations: 63.78 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.004789, allocations: 16 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.004805, allocations: 21.25 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.004831, allocations: 27.92 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.004866, allocations: 51.83 kB / 0.7626 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.004984, allocations: 124.5 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004987, allocations: 4 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004987, allocations: 0 / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.004991, allocations: 0.9688 kB / 0.7627 GB, free: 3.891 MB / 0.7136 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.0003071/0.005299, allocations: 349.3 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.005326, allocations: 9.812 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.005356, allocations: 32.86 kB / 0.7631 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.005465, allocations: 141.5 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.005475, allocations: 12.7 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.005487, allocations: 12.38 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.005636, allocations: 138.2 kB / 0.7634 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.005642, allocations: 0.9375 kB / 0.7634 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.005651, allocations: 8.375 kB / 0.7634 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.005656, allocations: 5.125 kB / 0.7634 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.005711, allocations: 48.45 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.006056, allocations: 314.5 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.83e-05/0.006144, allocations: 81.75 kB / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.006179, allocations: 32.83 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.006188, allocations: 5.531 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.006206, allocations: 34.56 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.006206, allocations: 0 / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0001233/0.00633, allocations: 85.55 kB / 0.764 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.006353, allocations: 51.91 kB / 0.764 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.006412, allocations: 136.9 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.006422, allocations: 28.36 kB / 0.7642 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.006473, allocations: 128.3 kB / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.006495, allocations: 43.59 kB / 0.7643 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.006528, allocations: 29.7 kB / 0.7644 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.006609, allocations: 322.8 kB / 0.7647 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.006627, allocations: 8 kB / 0.7647 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.006659, allocations: 38.55 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.986e-05/0.006719, allocations: 65.47 kB / 0.7648 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.00672, allocations: 0 / 0.7648 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9e-05/0.00681, allocations: 85.09 kB / 0.7649 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.006822, allocations: 11.94 kB / 0.7649 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.006825, allocations: 1 kB / 0.7649 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.006833, allocations: 0 / 0.7649 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.006918, allocations: 32.92 kB / 0.7649 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.00692, allocations: 0 / 0.7649 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.006958, allocations: 15.92 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.006964, allocations: 12.88 kB / 0.7649 GB, free: 1.465 MB / 0.7136 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 5.622e-05/0.00702, allocations: 115.3 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.007039, allocations: 11.92 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.007061, allocations: 20.72 kB / 0.7651 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007062, allocations: 0 / 0.7651 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.007065, allocations: 5.359 kB / 0.7651 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.007068, allocations: 0 / 0.7651 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.007177, allocations: 113.7 kB / 0.7652 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.007178, allocations: 0 / 0.7652 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.007241, allocations: 40.5 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.007241, allocations: 0.5 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.007246, allocations: 0.8125 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.007247, allocations: 0 / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007248, allocations: 3.938 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.823e-05/0.007347, allocations: 172 kB / 0.7654 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.007354, allocations: 11.39 kB / 0.7654 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.007364, allocations: 3.984 kB / 0.7654 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.837e-05/0.007413, allocations: 12 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.007447, allocations: 19.91 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.007451, allocations: 4 kB / 0.7654 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.336e-05/0.007475, allocations: 27.78 kB / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007475, allocations: 0 / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001347/0.007609, allocations: 31.89 kB / 0.7655 GB, free: 0.8438 MB / 0.7136 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.516e-05/0.007695, allocations: 87.17 kB / 0.7656 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.281e-05/0.007787, allocations: 60.77 kB / 0.7656 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.00779, allocations: 0 / 0.7656 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.007822, allocations: 28.86 kB / 0.7657 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.00798, allocations: 21.7 kB / 0.7657 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.008328, allocations: 278.7 kB / 0.7659 GB, free: 348 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.097e-05/0.008369, allocations: 71.33 kB / 0.766 GB, free: 256 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.008406, allocations: 7.25 kB / 0.766 GB, free: 252 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.008476, allocations: 71.36 kB / 0.7661 GB, free: 180 kB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.008476, allocations: 3.688 kB / 0.7661 GB, free: 180 kB / 0.7136 GB Notification: Performance of Templates: time 0.002815/0.01129, allocations: 1.367 MB / 0.7674 GB, free: 14.92 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.089494816027582]