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.PIDGain.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.001204/0.001204, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001333/0.001333, allocations: 161 kB / 24.17 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.079/1.079, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.994/1.994, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.824e-05, allocations: 10.64 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.001791/0.001819, allocations: 0.89 MB / 0.761 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.00297, allocations: 0.8999 MB / 0.7618 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.00304, allocations: 4.766 kB / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.913e-05/0.003079, allocations: 7.875 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.003207, allocations: 17.11 kB / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.759e-05/0.003285, allocations: 36.86 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.003414, allocations: 118.3 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.003539, allocations: 47.97 kB / 0.7621 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.003656, allocations: 59.89 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.003719, allocations: 43.88 kB / 0.7622 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.003743, allocations: 12 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.003756, allocations: 8 kB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.003782, allocations: 20.67 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.003811, allocations: 27.92 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.003939, allocations: 92.33 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003941, allocations: 0 / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003942, allocations: 0.625 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.003947, allocations: 0 / 0.7623 GB, free: 4.32 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005606/0.004507, allocations: 310.9 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.004543, allocations: 8.031 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.004576, allocations: 16.92 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.004711, allocations: 125.7 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.004722, allocations: 10.16 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.004734, allocations: 12.31 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.004901, allocations: 111.4 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.00491, allocations: 1.25 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.004919, allocations: 0 / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.004926, allocations: 4 kB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.248e-05/0.004969, allocations: 19.98 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.005307, allocations: 243.4 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.005433, allocations: 46.73 kB / 0.7632 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.005463, allocations: 20.8 kB / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.005476, allocations: 11.88 kB / 0.7632 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.005498, allocations: 30.56 kB / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.0055, allocations: 2.75 kB / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001435/0.005643, allocations: 61.67 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.005672, allocations: 51.41 kB / 0.7634 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/0.005742, allocations: 140.9 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.005756, allocations: 25.7 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.005801, allocations: 100 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.005817, allocations: 27.75 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.00585, allocations: 26.81 kB / 0.7637 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.005932, allocations: 318.8 kB / 0.764 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.005953, allocations: 11.92 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.00598, allocations: 26.59 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.966e-05/0.006029, allocations: 37.67 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006031, allocations: 0.9375 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.17e-05/0.006113, allocations: 61.56 kB / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.006126, allocations: 8.5 kB / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.006133, allocations: 7.438 kB / 0.7641 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.006146, allocations: 0 / 0.7641 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.006263, allocations: 27.97 kB / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.006266, allocations: 0 / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.006301, allocations: 11.94 kB / 0.7642 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006306, allocations: 3.984 kB / 0.7642 GB, free: 2.285 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 6.212e-05/0.006369, allocations: 117.8 kB / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.006387, allocations: 10.62 kB / 0.7643 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.006414, allocations: 16.78 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006415, allocations: 0 / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.006419, allocations: 3.984 kB / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006422, allocations: 0 / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.006528, allocations: 85.86 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006529, allocations: 0 / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.006589, allocations: 24.61 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.006591, allocations: 1.406 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.006599, allocations: 7.938 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.006601, allocations: 0 / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.006603, allocations: 3.984 kB / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.006719, allocations: 156.4 kB / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.00673, allocations: 11.94 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.00674, allocations: 6.812 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.006785, allocations: 12 kB / 0.7646 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.006824, allocations: 11.97 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.006828, allocations: 4 kB / 0.7646 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.864e-05/0.006847, allocations: 16.84 kB / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006847, allocations: 0 / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001284/0.006976, allocations: 27.89 kB / 0.7647 GB, free: 1.738 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 (8): * Single equations (assignments): 8 * 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 9.42e-05/0.00707, allocations: 85.86 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.045e-05/0.00716, allocations: 40.83 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.007165, allocations: 4 kB / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.638e-05/0.007191, allocations: 16.86 kB / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.00737, allocations: 27.39 kB / 0.7648 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.007711, allocations: 208.9 kB / 0.765 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.007748, allocations: 63.34 kB / 0.7651 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.185e-05/0.007789, allocations: 5.359 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.007857, allocations: 64.84 kB / 0.7652 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of SimCode: time 8.02e-07/0.007857, allocations: 0 / 0.7652 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.003127/0.01098, allocations: 1.23 MB / 0.7664 GB, free: 56 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.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.213261716999114]