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.001305/0.001305, 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.001123/0.001123, 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.089/1.089, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.993/1.993, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.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 2.054e-06/2.054e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.507e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003092/0.003117, allocations: 1.286 MB / 0.7613 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.004899, allocations: 1.064 MB / 0.7624 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.005051, allocations: 4 kB / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.389e-05/0.005145, allocations: 31.59 kB / 0.7624 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.005327, allocations: 33.17 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.005531, allocations: 121.2 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.005905, allocations: 348.3 kB / 0.7629 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.00623, allocations: 174.5 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.006506, allocations: 208.9 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.006631, allocations: 99.67 kB / 0.7633 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.006685, allocations: 44 kB / 0.7634 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.266e-05/0.006728, allocations: 45.25 kB / 0.7634 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.006793, allocations: 79.75 kB / 0.7635 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.717e-05/0.00689, allocations: 103.7 kB / 0.7636 GB, free: 3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.007193, allocations: 228.4 kB / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007197, allocations: 0 / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.313e-06/0.007198, allocations: 0 / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.007203, allocations: 3.938 kB / 0.7638 GB, free: 2.773 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.0006431/0.007847, allocations: 474.4 kB / 0.7643 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.007887, allocations: 8.031 kB / 0.7643 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.007957, allocations: 46.09 kB / 0.7643 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.008194, allocations: 175.5 kB / 0.7645 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.008223, allocations: 25.03 kB / 0.7645 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.008259, allocations: 33.59 kB / 0.7645 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.008626, allocations: 207.3 kB / 0.7647 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.008637, allocations: 0.9375 kB / 0.7647 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.008662, allocations: 20.38 kB / 0.7648 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.008674, allocations: 9.125 kB / 0.7648 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.008832, allocations: 76.44 kB / 0.7648 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009266/0.009759, allocations: 0.5464 MB / 0.7654 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.0101, allocations: 160.2 kB / 0.7655 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.838e-05/0.0102, allocations: 61.86 kB / 0.7656 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.01021, allocations: 4 kB / 0.7656 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.01024, allocations: 33.81 kB / 0.7656 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 2.846e-06/0.01025, allocations: 0 / 0.7656 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0002996/0.01055, allocations: 138 kB / 0.7658 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.01059, allocations: 55.41 kB / 0.7658 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.01071, allocations: 140.2 kB / 0.7659 GB, free: 500 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.01073, allocations: 29.7 kB / 0.766 GB, free: 464 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.01083, allocations: 164.5 kB / 0.7661 GB, free: 296 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.0109, allocations: 87.27 kB / 0.7662 GB, free: 208 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.01097, allocations: 37.94 kB / 0.7662 GB, free: 160 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.01113, allocations: 333.8 kB / 0.7666 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.01119, allocations: 20.47 kB / 0.7666 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.01127, allocations: 52.64 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.01141, allocations: 92.78 kB / 0.7667 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.01141, allocations: 3.938 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002085/0.01162, allocations: 125.2 kB / 0.7668 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01164, allocations: 4 kB / 0.7668 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01164, allocations: 0 / 0.7668 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.01166, allocations: 4 kB / 0.7668 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.01192, allocations: 57.31 kB / 0.7669 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01192, allocations: 4 kB / 0.7669 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.096e-05/0.01202, allocations: 29.11 kB / 0.7669 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01203, allocations: 8 kB / 0.7669 GB, free: 15.42 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 0.0001049/0.01214, allocations: 129.7 kB / 0.7671 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.01217, allocations: 12.64 kB / 0.7671 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.01222, allocations: 29.27 kB / 0.7671 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01223, allocations: 4.625 kB / 0.7671 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.01223, allocations: 0.6562 kB / 0.7671 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01223, allocations: 0 / 0.7671 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.01277, allocations: 162.7 kB / 0.7673 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.01277, allocations: 0 / 0.7673 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.01301, allocations: 58.53 kB / 0.7673 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01301, allocations: 0 / 0.7673 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.01302, allocations: 7.938 kB / 0.7673 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01303, allocations: 4 kB / 0.7673 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01303, allocations: 0 / 0.7673 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.01325, allocations: 211.4 kB / 0.7675 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.01327, allocations: 26.91 kB / 0.7676 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.01329, allocations: 8 kB / 0.7676 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.0134, allocations: 15.98 kB / 0.7676 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.01346, allocations: 15.97 kB / 0.7676 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.01347, allocations: 4 kB / 0.7676 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.01351, allocations: 31.06 kB / 0.7676 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01351, allocations: 0 / 0.7676 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002685/0.01378, allocations: 55.78 kB / 0.7677 GB, free: 14.62 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 0.000142/0.01392, allocations: 93.84 kB / 0.7678 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.01411, allocations: 105.1 kB / 0.7679 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.01412, allocations: 0.9688 kB / 0.7679 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-05/0.01421, allocations: 56.72 kB / 0.7679 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.01448, allocations: 29.7 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.01524, allocations: 448.4 kB / 0.7684 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.335e-05/0.0153, allocations: 83.97 kB / 0.7685 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.491e-05/0.0154, allocations: 19.52 kB / 0.7685 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.01551, allocations: 75.38 kB / 0.7686 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of SimCode: time 1.182e-06/0.01551, allocations: 0 / 0.7686 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.004836/0.02035, allocations: 1.829 MB / 0.7703 GB, free: 11.97 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 -s gbode -gbm=radauIIA3 -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.279634305275977]