Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.001403/0.001403, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.001507/0.001507, allocations: 165 kB / 24.05 MB, free: 464 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 0.9828/0.9828, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.037/2.037, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.477e-05, allocations: 12.75 kB / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.001837/0.001872, allocations: 0.8385 MB / 0.8802 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.002898, allocations: 0.8954 MB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.002954, allocations: 0 / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.002989, allocations: 7.875 kB / 0.8811 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.42e-05/0.003083, allocations: 16.39 kB / 0.8811 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.128e-05/0.003154, allocations: 32.53 kB / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.003269, allocations: 115.7 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.00341, allocations: 42.11 kB / 0.8813 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.003527, allocations: 76.45 kB / 0.8814 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.003581, allocations: 27.91 kB / 0.8814 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.003608, allocations: 13.59 kB / 0.8814 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.00362, allocations: 12 kB / 0.8814 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.003649, allocations: 27.91 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.00368, allocations: 23.92 kB / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.0038, allocations: 77.53 kB / 0.8816 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.003803, allocations: 0 / 0.8816 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003804, allocations: 4 kB / 0.8816 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.00381, allocations: 3.938 kB / 0.8816 GB, free: 3.785 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004342/0.004244, allocations: 431 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.004281, allocations: 8.031 kB / 0.882 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.004318, allocations: 16.84 kB / 0.882 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.004465, allocations: 140.5 kB / 0.8821 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.004478, allocations: 8.375 kB / 0.8822 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.00449, allocations: 12.31 kB / 0.8822 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.004646, allocations: 99.56 kB / 0.8823 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004654, allocations: 192 / 0.8823 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.004664, allocations: 5.719 kB / 0.8823 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.004671, allocations: 4.375 kB / 0.8823 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.661e-05/0.004717, allocations: 32.38 kB / 0.8823 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.005064, allocations: 352 kB / 0.8826 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.005233, allocations: 83.06 kB / 0.8827 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.005268, allocations: 27.67 kB / 0.8827 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.005278, allocations: 4 kB / 0.8827 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.0053, allocations: 33.39 kB / 0.8828 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.005302, allocations: 0 / 0.8828 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001679/0.00547, allocations: 85.7 kB / 0.8829 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.005503, allocations: 51.41 kB / 0.8829 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.005577, allocations: 169.9 kB / 0.8831 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.005588, allocations: 29.7 kB / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.005648, allocations: 158.7 kB / 0.8833 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.005677, allocations: 27.73 kB / 0.8833 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.005715, allocations: 31.36 kB / 0.8833 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.005881, allocations: 0.4922 MB / 0.8838 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.005912, allocations: 8 kB / 0.8838 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.00593, allocations: 11.92 kB / 0.8838 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.005977, allocations: 31.69 kB / 0.8838 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00598, allocations: 0 / 0.8838 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.003e-05/0.00607, allocations: 69.58 kB / 0.8839 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.006082, allocations: 4 kB / 0.8839 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.006087, allocations: 8 kB / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.006097, allocations: 4 kB / 0.8839 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.006184, allocations: 19.98 kB / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006187, allocations: 0 / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.006217, allocations: 11.98 kB / 0.884 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.006223, allocations: 4 kB / 0.884 GB, free: 1.152 MB / 0.8386 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 (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.669e-05/0.006289, allocations: 160.5 kB / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.006309, allocations: 15.89 kB / 0.8841 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.006335, allocations: 12.44 kB / 0.8841 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.006337, allocations: 4 kB / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.006338, allocations: 0 / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.006341, allocations: 0 / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.006453, allocations: 133.1 kB / 0.8843 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006454, allocations: 0 / 0.8843 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/0.006507, allocations: 19.98 kB / 0.8843 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.006508, allocations: 0 / 0.8843 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.006513, allocations: 0 / 0.8843 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006514, allocations: 4 kB / 0.8843 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006515, allocations: 0 / 0.8843 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.006633, allocations: 223.8 kB / 0.8845 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.006648, allocations: 11.89 kB / 0.8845 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-06/0.006657, allocations: 0 / 0.8845 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.969e-05/0.006696, allocations: 7.984 kB / 0.8845 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.006733, allocations: 11.98 kB / 0.8845 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.006736, allocations: 0 / 0.8845 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.006772, allocations: 135.2 kB / 0.8847 GB, free: 372 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006773, allocations: 0 / 0.8847 GB, free: 372 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001443/0.006917, allocations: 23.95 kB / 0.8847 GB, free: 348 kB / 0.8386 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 (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 Backend phase and start with SimCode phase: time 0.0001039/0.007021, allocations: 103.2 kB / 0.8848 GB, free: 236 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.76e-05/0.007108, allocations: 39.61 kB / 0.8848 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.00711, allocations: 0 / 0.8848 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.115e-05/0.007141, allocations: 32.61 kB / 0.8849 GB, free: 156 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.007353, allocations: 20.58 kB / 0.8849 GB, free: 136 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.007706, allocations: 214 kB / 0.8851 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.746e-05/0.007743, allocations: 63.34 kB / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.007777, allocations: 7.984 kB / 0.8851 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.007841, allocations: 86.19 kB / 0.8852 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/0.007842, allocations: 0 / 0.8852 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of Templates: time 0.003087/0.01093, allocations: 1.2 MB / 0.8864 GB, free: 14.59 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.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.312011945992708]