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.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.001361/0.001361, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001282/0.001282, allocations: 169 kB / 23.27 MB, free: 1.219 MB / 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.9602/0.9602, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.363/2.363, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.357e-06/3.357e-06, allocations: 0 / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/3.085e-05, allocations: 9.406 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.00263/0.002661, allocations: 0.9305 MB / 0.8907 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.004037, allocations: 0.9209 MB / 0.8916 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.415e-05/0.004131, allocations: 7.938 kB / 0.8916 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.57e-05/0.004187, allocations: 11.81 kB / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.004323, allocations: 27.78 kB / 0.8916 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.004439, allocations: 43.95 kB / 0.8917 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.004641, allocations: 156.2 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.004865, allocations: 69.2 kB / 0.8919 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.005044, allocations: 91.86 kB / 0.892 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.005131, allocations: 47.8 kB / 0.892 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.005163, allocations: 16 kB / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.963e-05/0.005183, allocations: 20 kB / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.788e-05/0.005221, allocations: 35.91 kB / 0.8921 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.005272, allocations: 47.84 kB / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.005446, allocations: 102.1 kB / 0.8922 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.005452, allocations: 3.984 kB / 0.8922 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.233e-06/0.005453, allocations: 0 / 0.8922 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.005458, allocations: 0 / 0.8922 GB, free: 7.203 MB / 0.8542 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.0005422/0.006, allocations: 472 kB / 0.8927 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.006046, allocations: 8.625 kB / 0.8927 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.006103, allocations: 32.84 kB / 0.8927 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.006271, allocations: 152.4 kB / 0.8929 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.006287, allocations: 12.38 kB / 0.8929 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.00631, allocations: 20.31 kB / 0.8929 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.006549, allocations: 123.2 kB / 0.893 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.006558, allocations: 4.125 kB / 0.893 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.006572, allocations: 4.375 kB / 0.893 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.00658, allocations: 4.375 kB / 0.893 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.525e-05/0.006665, allocations: 43.66 kB / 0.8931 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.00722, allocations: 435.7 kB / 0.8935 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.007518, allocations: 111.1 kB / 0.8936 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.007579, allocations: 35.67 kB / 0.8936 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.007592, allocations: 4 kB / 0.8936 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.007621, allocations: 45.33 kB / 0.8937 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.475e-06/0.007624, allocations: 0 / 0.8937 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0002247/0.007848, allocations: 105.6 kB / 0.8938 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.007879, allocations: 51.41 kB / 0.8938 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.857e-05/0.007977, allocations: 177.9 kB / 0.894 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.007994, allocations: 29.7 kB / 0.894 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.008075, allocations: 163.1 kB / 0.8942 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.008121, allocations: 51.52 kB / 0.8942 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.008174, allocations: 35.62 kB / 0.8943 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.008331, allocations: 0.4962 MB / 0.8947 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/0.008371, allocations: 15.98 kB / 0.8948 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.008402, allocations: 19.92 kB / 0.8948 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.634e-05/0.008479, allocations: 42.44 kB / 0.8948 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.008481, allocations: 0 / 0.8948 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001425/0.008624, allocations: 85.64 kB / 0.8949 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.008639, allocations: 8 kB / 0.8949 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.008644, allocations: 0 / 0.8949 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.00866, allocations: 3.938 kB / 0.8949 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.008794, allocations: 35.91 kB / 0.8949 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.008797, allocations: 4 kB / 0.8949 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.008844, allocations: 11.95 kB / 0.895 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.008851, allocations: 0 / 0.895 GB, free: 4.207 MB / 0.8542 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 9.307e-05/0.008944, allocations: 160.6 kB / 0.8951 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.008976, allocations: 11.95 kB / 0.8951 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.009014, allocations: 24.36 kB / 0.8951 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.00902, allocations: 7.938 kB / 0.8952 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.009023, allocations: 0 / 0.8952 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.009026, allocations: 0 / 0.8952 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.009215, allocations: 149.1 kB / 0.8953 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.009217, allocations: 0 / 0.8953 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.009326, allocations: 35.92 kB / 0.8953 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009329, allocations: 0 / 0.8953 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.009335, allocations: 0 / 0.8953 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009336, allocations: 0 / 0.8953 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009337, allocations: 4 kB / 0.8953 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.009494, allocations: 243.8 kB / 0.8956 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.009505, allocations: 11.91 kB / 0.8956 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-06/0.009513, allocations: 0 / 0.8956 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.009558, allocations: 11.98 kB / 0.8956 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.009598, allocations: 15.92 kB / 0.8956 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.009602, allocations: 0 / 0.8956 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.009653, allocations: 143.5 kB / 0.8957 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009653, allocations: 0 / 0.8957 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001533/0.009806, allocations: 31.89 kB / 0.8958 GB, free: 3.316 MB / 0.8542 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 0.0001044/0.009911, allocations: 107.2 kB / 0.8959 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.968e-05/0.01001, allocations: 64.84 kB / 0.8959 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01001, allocations: 0 / 0.8959 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/0.01005, allocations: 38.67 kB / 0.896 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.01026, allocations: 19.98 kB / 0.896 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.01066, allocations: 270.8 kB / 0.8962 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/0.0107, allocations: 71.33 kB / 0.8963 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.01074, allocations: 4.5 kB / 0.8963 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.01081, allocations: 90.19 kB / 0.8964 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.01081, allocations: 0 / 0.8964 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of Templates: time 0.00313/0.01394, allocations: 1.306 MB / 0.8977 GB, free: 1.359 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.317008518148214]