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.PIIntegralTime.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.0009953/0.0009953, allocations: 80.81 kB / 20.75 MB, free: 3.734 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.00101/0.00101, allocations: 161 kB / 24.17 MB, free: 320 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.098 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.828/1.828, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.465e-05, allocations: 2.312 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002163/0.002188, allocations: 0.924 MB / 0.7609 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003268, allocations: 0.927 MB / 0.7619 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.003333, allocations: 4 kB / 0.7619 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.776e-05/0.003381, allocations: 15.8 kB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.003483, allocations: 16.94 kB / 0.7619 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.627e-05/0.003579, allocations: 51.94 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.00377, allocations: 162.3 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.003934, allocations: 70.52 kB / 0.7622 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.004087, allocations: 92.77 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.004159, allocations: 39.88 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.004195, allocations: 20.53 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.004214, allocations: 16 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.004253, allocations: 44.42 kB / 0.7624 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.004297, allocations: 40.84 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.004448, allocations: 111.5 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00445, allocations: 0 / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.41e-07/0.004451, allocations: 0.5312 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.004455, allocations: 2.062 kB / 0.7625 GB, free: 4.133 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004677/0.004922, allocations: 344.3 kB / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.004959, allocations: 12.03 kB / 0.7629 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.005003, allocations: 20.92 kB / 0.7629 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.005155, allocations: 143 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.005171, allocations: 12.36 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.005193, allocations: 16.38 kB / 0.763 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.005393, allocations: 119.9 kB / 0.7632 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.005403, allocations: 192 / 0.7632 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.005418, allocations: 12.38 kB / 0.7632 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.005429, allocations: 5.312 kB / 0.7632 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.005507, allocations: 35.92 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.005976, allocations: 324.7 kB / 0.7635 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.006211, allocations: 91.22 kB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.006263, allocations: 30.64 kB / 0.7636 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.006275, allocations: 4 kB / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.006298, allocations: 38.48 kB / 0.7637 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.006299, allocations: 0 / 0.7637 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0001879/0.006487, allocations: 94.05 kB / 0.7638 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.006522, allocations: 51.41 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.006594, allocations: 122.7 kB / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.006609, allocations: 26.64 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.00666, allocations: 116.4 kB / 0.7641 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.006702, allocations: 51.52 kB / 0.7641 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.006747, allocations: 34.58 kB / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.006841, allocations: 322.8 kB / 0.7645 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.006865, allocations: 8.75 kB / 0.7645 GB, free: 2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.006893, allocations: 20.17 kB / 0.7645 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.501e-05/0.006958, allocations: 41.58 kB / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.006961, allocations: 3.984 kB / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001051/0.007067, allocations: 70.17 kB / 0.7646 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.007078, allocations: 6.125 kB / 0.7646 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.007082, allocations: 0 / 0.7646 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.007095, allocations: 3.938 kB / 0.7646 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.007221, allocations: 39.92 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.007224, allocations: 0 / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.007268, allocations: 8.484 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.007276, allocations: 4 kB / 0.7646 GB, free: 1.801 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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.678e-05/0.007343, allocations: 113.3 kB / 0.7648 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.007376, allocations: 12 kB / 0.7648 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.007404, allocations: 16.42 kB / 0.7648 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.007409, allocations: 7.938 kB / 0.7648 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.007411, allocations: 0 / 0.7648 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.007413, allocations: 0 / 0.7648 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.007563, allocations: 113.7 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007565, allocations: 0 / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.842e-05/0.007653, allocations: 34.45 kB / 0.7649 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.007656, allocations: 3.984 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.007664, allocations: 4 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.007665, allocations: 4 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007666, allocations: 0 / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.007792, allocations: 182.2 kB / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.007802, allocations: 8.734 kB / 0.7651 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.007815, allocations: 4 kB / 0.7651 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.4e-05/0.007879, allocations: 13.23 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.007913, allocations: 7.984 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.00792, allocations: 7.938 kB / 0.7652 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.107e-05/0.007941, allocations: 25.56 kB / 0.7652 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007941, allocations: 3.938 kB / 0.7652 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002032/0.008144, allocations: 34.27 kB / 0.7652 GB, free: 1.18 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 (14): * Single equations (assignments): 14 * 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.402e-05/0.008228, allocations: 80.42 kB / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.00833, allocations: 52.77 kB / 0.7653 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.008334, allocations: 4 kB / 0.7653 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.239e-05/0.008376, allocations: 32.84 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.008567, allocations: 29.73 kB / 0.7654 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.008962, allocations: 266.3 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.009007, allocations: 72.84 kB / 0.7657 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.791e-05/0.009054, allocations: 11.33 kB / 0.7657 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.009126, allocations: 63.38 kB / 0.7658 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/0.009127, allocations: 0 / 0.7658 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of Templates: time 0.003436/0.01256, allocations: 1.188 MB / 0.767 GB, free: 15.45 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.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.006965696346015]