Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001048/0.001048, 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.0009708/0.0009708, 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.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.93/1.93, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.918e-06/1.121e-05, allocations: 2.312 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.001651/0.001662, allocations: 1.249 MB / 0.7612 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.002712, allocations: 1.063 MB / 0.7623 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.865e-05/0.002801, allocations: 4.531 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.71e-05/0.002858, allocations: 31.59 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.002967, allocations: 40.53 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.00309, allocations: 119.9 kB / 0.7625 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000239/0.003329, allocations: 349 kB / 0.7628 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.003541, allocations: 168.5 kB / 0.763 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.003727, allocations: 215.5 kB / 0.7632 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.003813, allocations: 91.73 kB / 0.7632 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.003853, allocations: 44 kB / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.778e-05/0.003881, allocations: 47.94 kB / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.003926, allocations: 77.38 kB / 0.7634 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/0.003988, allocations: 103.7 kB / 0.7635 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.00418, allocations: 231 kB / 0.7637 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004182, allocations: 4 kB / 0.7637 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004183, allocations: 0.8125 kB / 0.7637 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.004187, allocations: 0 / 0.7637 GB, free: 2.855 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.000443/0.00463, allocations: 470.7 kB / 0.7642 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.00466, allocations: 8.031 kB / 0.7642 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.004711, allocations: 48.91 kB / 0.7642 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.004864, allocations: 174.6 kB / 0.7644 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.004882, allocations: 25.02 kB / 0.7644 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.004909, allocations: 32.38 kB / 0.7645 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.005164, allocations: 212.2 kB / 0.7647 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.005174, allocations: 192 / 0.7647 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.005193, allocations: 17.41 kB / 0.7647 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.005204, allocations: 8.375 kB / 0.7647 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.005309, allocations: 72.5 kB / 0.7648 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.00594, allocations: 0.546 MB / 0.7653 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.006179, allocations: 163.4 kB / 0.7654 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.006235, allocations: 52.83 kB / 0.7655 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.006246, allocations: 4 kB / 0.7655 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.006268, allocations: 39.5 kB / 0.7655 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.132e-06/0.006269, allocations: 0 / 0.7655 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0001744/0.006443, allocations: 134 kB / 0.7657 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.006472, allocations: 60.09 kB / 0.7657 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.006537, allocations: 137 kB / 0.7658 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.006551, allocations: 34.45 kB / 0.7659 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.006607, allocations: 164.5 kB / 0.766 GB, free: 380 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.006641, allocations: 83.8 kB / 0.7661 GB, free: 296 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.006685, allocations: 40.09 kB / 0.7662 GB, free: 248 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.717e-05/0.006763, allocations: 330.8 kB / 0.7665 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.006789, allocations: 16.47 kB / 0.7665 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.748e-05/0.006836, allocations: 55.47 kB / 0.7665 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.319e-05/0.00692, allocations: 100.2 kB / 0.7666 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.006922, allocations: 0 / 0.7666 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001133/0.007035, allocations: 119.7 kB / 0.7668 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.007046, allocations: 8 kB / 0.7668 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.00705, allocations: 0 / 0.7668 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.007061, allocations: 3.984 kB / 0.7668 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.007187, allocations: 55.91 kB / 0.7668 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.007191, allocations: 6.562 kB / 0.7668 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.007239, allocations: 27.83 kB / 0.7668 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.007247, allocations: 8 kB / 0.7669 GB, free: 15.5 MB / 0.7292 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 (27): * Single equations (assignments): 27 * 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.528e-05/0.007312, allocations: 121.7 kB / 0.767 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.007334, allocations: 15.98 kB / 0.767 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.00736, allocations: 25.28 kB / 0.767 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.007363, allocations: 8.688 kB / 0.767 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.007364, allocations: 0 / 0.767 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.007368, allocations: 5.266 kB / 0.767 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.007507, allocations: 157.7 kB / 0.7672 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007508, allocations: 4 kB / 0.7672 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.007609, allocations: 56.66 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.00761, allocations: 0 / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.007617, allocations: 6.406 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.007619, allocations: 7.938 kB / 0.7672 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.00762, allocations: 0 / 0.7672 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.007744, allocations: 211.4 kB / 0.7674 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.007757, allocations: 23.78 kB / 0.7675 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.00777, allocations: 4 kB / 0.7675 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.007822, allocations: 14.73 kB / 0.7675 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.007859, allocations: 19.97 kB / 0.7675 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.007864, allocations: 4 kB / 0.7675 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.048e-05/0.007884, allocations: 31.05 kB / 0.7675 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007885, allocations: 0 / 0.7675 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001546/0.008039, allocations: 63.78 kB / 0.7676 GB, free: 14.7 MB / 0.7292 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 (25): * Single equations (assignments): 25 * 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 7.248e-05/0.008112, allocations: 85.61 kB / 0.7677 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.008238, allocations: 104.6 kB / 0.7678 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.00824, allocations: 1.25 kB / 0.7678 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.227e-05/0.008293, allocations: 56.77 kB / 0.7678 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.008462, allocations: 29.52 kB / 0.7679 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.008995, allocations: 444.3 kB / 0.7683 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.782e-05/0.009043, allocations: 83.97 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.788e-05/0.009101, allocations: 18.02 kB / 0.7684 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.00918, allocations: 79.36 kB / 0.7685 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of SimCode: time 7.92e-07/0.00918, allocations: 1.219 kB / 0.7685 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.003393/0.01257, allocations: 1.823 MB / 0.7702 GB, free: 12.06 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.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.152508690953255]