Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.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.0009098/0.0009098, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.000967/0.000967, allocations: 173 kB / 23.03 MB, free: 1.547 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.9277/0.9277, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.073/2.073, allocations: 429.5 MB / 0.6733 GB, free: 4.051 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.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.391e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.005915/0.005949, allocations: 1.397 MB / 0.8796 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005204/0.01115, allocations: 1.537 MB / 0.8811 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.01138, allocations: 5.031 kB / 0.8811 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.01156, allocations: 43.47 kB / 0.8811 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.0117, allocations: 44.72 kB / 0.8812 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008558/0.01255, allocations: 347 kB / 0.8815 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.003599/0.01615, allocations: 477.2 kB / 0.8819 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005651/0.01672, allocations: 129.7 kB / 0.8821 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.01707, allocations: 264.5 kB / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.01728, allocations: 127.5 kB / 0.8824 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.589e-05/0.01735, allocations: 56.53 kB / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.0175, allocations: 71.97 kB / 0.8826 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.01757, allocations: 76.34 kB / 0.8826 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.01771, allocations: 135.6 kB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.01826, allocations: 342.3 kB / 0.8831 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01826, allocations: 0 / 0.8831 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/0.01826, allocations: 0.8125 kB / 0.8831 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.01827, allocations: 0 / 0.8831 GB, free: 1.27 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008746/0.01914, allocations: 0.6835 MB / 0.8838 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.01918, allocations: 9.125 kB / 0.8838 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.01938, allocations: 64.73 kB / 0.8838 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.01969, allocations: 262.4 kB / 0.8841 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.01972, allocations: 29.03 kB / 0.8841 GB, free: 156 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.01976, allocations: 36.36 kB / 0.8841 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.02004, allocations: 187.4 kB / 0.8843 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.02005, allocations: 5.094 kB / 0.8843 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.02008, allocations: 12.36 kB / 0.8843 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.0201, allocations: 8.375 kB / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.02025, allocations: 96.56 kB / 0.8844 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008844/0.02114, allocations: 0.7452 MB / 0.8852 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.02145, allocations: 145 kB / 0.8853 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.515e-05/0.02151, allocations: 43.67 kB / 0.8853 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.02153, allocations: 7.984 kB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.02169, allocations: 131.8 kB / 0.8855 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 3.427e-06/0.02169, allocations: 0.625 kB / 0.8855 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0003491/0.02204, allocations: 197.4 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.02208, allocations: 63.39 kB / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.02227, allocations: 266.7 kB / 0.886 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.0223, allocations: 37.7 kB / 0.886 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.02243, allocations: 235.2 kB / 0.8862 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.02248, allocations: 67.48 kB / 0.8863 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.02258, allocations: 83.61 kB / 0.8864 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.02272, allocations: 0.504 MB / 0.8869 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.0229, allocations: 143.6 kB / 0.887 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.02308, allocations: 234.6 kB / 0.8872 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.02332, allocations: 273.9 kB / 0.8875 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.02333, allocations: 3.938 kB / 0.8875 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004488/0.02378, allocations: 448.3 kB / 0.8879 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.02382, allocations: 71.39 kB / 0.888 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.02383, allocations: 3.984 kB / 0.888 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.02385, allocations: 4 kB / 0.888 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.02395, allocations: 43.92 kB / 0.888 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.02396, allocations: 0 / 0.888 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.02413, allocations: 59.75 kB / 0.8881 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.02415, allocations: 23.98 kB / 0.8881 GB, free: 11.74 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ratioLT.booPul.y,$PRE.ratioLT.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,timConDel.edg.u,$PRE.timConDel.edg.u,timConDel.gre1.greHys.y,$PRE.timConDel.gre1.greHys.y,timConDel.triFai) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * 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.0001142/0.02427, allocations: 180.5 kB / 0.8883 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.0243, allocations: 35.84 kB / 0.8883 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.02454, allocations: 177.5 kB / 0.8885 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02454, allocations: 0 / 0.8885 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.02455, allocations: 0 / 0.8885 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.02455, allocations: 7.984 kB / 0.8885 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007214/0.02527, allocations: 0.5275 MB / 0.889 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.02527, allocations: 4.094 kB / 0.889 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.02533, allocations: 27.94 kB / 0.8891 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.02534, allocations: 7.984 kB / 0.8891 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.02535, allocations: 0 / 0.8891 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.02535, allocations: 4 kB / 0.8891 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.02536, allocations: 0 / 0.8891 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.02559, allocations: 350.5 kB / 0.8894 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.02561, allocations: 23.8 kB / 0.8894 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.02564, allocations: 7.984 kB / 0.8894 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/0.0257, allocations: 8 kB / 0.8894 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.02576, allocations: 31.89 kB / 0.8895 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.02577, allocations: 8 kB / 0.8895 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001027/0.02587, allocations: 181.8 kB / 0.8897 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02587, allocations: 0 / 0.8897 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002659/0.02614, allocations: 79.83 kB / 0.8897 GB, free: 10 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,timConDel.triFai,timConDel.gre1.greHys.y,timConDel.edg.u,tOn.booPul.y,ratioLT.booPul.y) * Number of discrete states: 2 (timConDel.gre1.greHys.y,timConDel.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001679/0.02631, allocations: 121 kB / 0.8898 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003835/0.02669, allocations: 375.6 kB / 0.8902 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.02669, allocations: 4.188 kB / 0.8902 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.02679, allocations: 76.91 kB / 0.8903 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.0271, allocations: 60.81 kB / 0.8903 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/0.02774, allocations: 480.4 kB / 0.8908 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.549e-05/0.02781, allocations: 92.25 kB / 0.8909 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.028e-05/0.02789, allocations: 22.3 kB / 0.8909 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.02794, allocations: 28.48 kB / 0.8909 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/0.02794, allocations: 0 / 0.8909 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of Templates: time 0.006727/0.03467, allocations: 4.319 MB / 0.8951 GB, free: 4.48 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.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.391971384175122]