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.001353/0.001353, allocations: 80.8 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.001703/0.001703, allocations: 161 kB / 24.16 MB, free: 336 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.032/1.032, allocations: 177.1 MB / 204.6 MB, free: 5.23 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.933/1.933, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] 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.735e-06/2.735e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.846e-05, allocations: 2.312 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002185/0.002213, allocations: 0.8514 MB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.003495, allocations: 0.8995 MB / 0.7617 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.003553, allocations: 0.7188 kB / 0.7617 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.003589, allocations: 8.406 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.003695, allocations: 29.05 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.884e-05/0.003763, allocations: 31.97 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.003886, allocations: 120.3 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.004004, allocations: 37.92 kB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.004121, allocations: 69.09 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.167e-05/0.004183, allocations: 39.88 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.004207, allocations: 8 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.004218, allocations: 12 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.004244, allocations: 25.7 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.004274, allocations: 31.91 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.004394, allocations: 83.59 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.004399, allocations: 0 / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.864e-06/0.0044, allocations: 1.469 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.004405, allocations: 0 / 0.7622 GB, free: 4.41 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.0003866/0.004792, allocations: 312.7 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.004824, allocations: 12.75 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.004853, allocations: 12.94 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.005038, allocations: 126.7 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.005056, allocations: 12.5 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.005074, allocations: 5.094 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.005251, allocations: 108.1 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.00526, allocations: 0 / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.005271, allocations: 4.531 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.00528, allocations: 4 kB / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/0.005321, allocations: 17.14 kB / 0.7628 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.00569, allocations: 244.9 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.005828, allocations: 48.52 kB / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.005863, allocations: 28.72 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.005873, allocations: 0 / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.005904, allocations: 34.56 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.005905, allocations: 1.469 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001508/0.006056, allocations: 57.67 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.006088, allocations: 55.41 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.006159, allocations: 136.8 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.006172, allocations: 32.45 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.006218, allocations: 104 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.006237, allocations: 31.73 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.00627, allocations: 21.7 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.006369, allocations: 318.8 kB / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.006385, allocations: 7.938 kB / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.006421, allocations: 25.69 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.006464, allocations: 35.89 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006466, allocations: 0 / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.21e-05/0.006538, allocations: 65.55 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.006549, allocations: 5.406 kB / 0.764 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.006553, allocations: 0 / 0.764 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.006565, allocations: 4.875 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.006633, allocations: 24.77 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.006637, allocations: 0 / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.00667, allocations: 20.61 kB / 0.7641 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.006675, allocations: 4 kB / 0.7641 GB, free: 2.375 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 5.949e-05/0.006735, allocations: 110.5 kB / 0.7642 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.006751, allocations: 12.67 kB / 0.7642 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.006773, allocations: 12.78 kB / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.006774, allocations: 0.5 kB / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.006776, allocations: 2.75 kB / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.006779, allocations: 0 / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.006885, allocations: 97.84 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.006886, allocations: 0 / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.00693, allocations: 19.98 kB / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.006931, allocations: 0 / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.006937, allocations: 3.938 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006939, allocations: 2.438 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006939, allocations: 0 / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.00704, allocations: 159.8 kB / 0.7645 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.007049, allocations: 7.953 kB / 0.7645 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.007059, allocations: 3.938 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.007103, allocations: 15.98 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.007142, allocations: 5.484 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.007146, allocations: 11.94 kB / 0.7645 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.759e-05/0.007164, allocations: 20.83 kB / 0.7645 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007164, allocations: 0 / 0.7645 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001297/0.007294, allocations: 24.92 kB / 0.7646 GB, free: 1.836 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 0.0001174/0.007411, allocations: 85.52 kB / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.25e-05/0.007494, allocations: 36.84 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.007497, allocations: 0 / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.007524, allocations: 31.19 kB / 0.7647 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.007692, allocations: 19.98 kB / 0.7647 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.008029, allocations: 215.2 kB / 0.7649 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.7e-05/0.008066, allocations: 63.34 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.008102, allocations: 3.656 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.008168, allocations: 67.36 kB / 0.7651 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of SimCode: time 4.8e-07/0.008168, allocations: 0 / 0.7651 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.002835/0.011, allocations: 1.224 MB / 0.7662 GB, free: 156 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 -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.183585388585925]