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.0009156/0.0009156, allocations: 93.06 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.001011/0.001011, allocations: 169 kB / 23.02 MB, free: 1.551 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.9843/0.9843, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.195/2.195, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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 1.693e-06/1.693e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.969e-05, allocations: 8.672 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002731/0.002751, allocations: 1.397 MB / 0.8796 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.004857, allocations: 1.542 MB / 0.8811 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.005024, allocations: 4 kB / 0.8811 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.005203, allocations: 37.12 kB / 0.8811 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.00533, allocations: 55.52 kB / 0.8812 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.006075, allocations: 337 kB / 0.8815 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004687/0.006544, allocations: 472.1 kB / 0.8819 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.006806, allocations: 129.7 kB / 0.8821 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.007078, allocations: 263.5 kB / 0.8823 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.007284, allocations: 142.2 kB / 0.8824 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.007356, allocations: 48 kB / 0.8825 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.007477, allocations: 71.98 kB / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.007538, allocations: 71.75 kB / 0.8826 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.007681, allocations: 139.6 kB / 0.8828 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.008108, allocations: 350.8 kB / 0.8831 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.008111, allocations: 0 / 0.8831 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.21e-07/0.008112, allocations: 0.7188 kB / 0.8831 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.008117, allocations: 0 / 0.8831 GB, free: 1.289 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.0008786/0.008996, allocations: 0.6804 MB / 0.8838 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.009041, allocations: 8.031 kB / 0.8838 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.009278, allocations: 64.7 kB / 0.8838 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.009672, allocations: 254.9 kB / 0.8841 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.009714, allocations: 33.02 kB / 0.8841 GB, free: 180 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-05/0.009775, allocations: 36.38 kB / 0.8841 GB, free: 144 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.01013, allocations: 187.4 kB / 0.8843 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.01014, allocations: 192 / 0.8843 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.01017, allocations: 20.31 kB / 0.8843 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.01018, allocations: 12.36 kB / 0.8843 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.01041, allocations: 95.75 kB / 0.8844 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.01162, allocations: 0.7457 MB / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.01201, allocations: 135.3 kB / 0.8853 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.01211, allocations: 59.64 kB / 0.8854 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.01214, allocations: 4 kB / 0.8854 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.01237, allocations: 120.8 kB / 0.8855 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.01237, allocations: 0 / 0.8855 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0004466/0.01281, allocations: 207.5 kB / 0.8857 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.01285, allocations: 55.41 kB / 0.8857 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.0131, allocations: 262.5 kB / 0.886 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.01314, allocations: 37.7 kB / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.01329, allocations: 231.2 kB / 0.8862 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.01335, allocations: 75.42 kB / 0.8863 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.01349, allocations: 83.33 kB / 0.8864 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.01365, allocations: 0.4962 MB / 0.8869 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.01388, allocations: 147.3 kB / 0.887 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/0.01725, allocations: 198.3 kB / 0.8872 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.01757, allocations: 250.9 kB / 0.8874 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.01758, allocations: 3.938 kB / 0.8874 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006457/0.01822, allocations: 436.1 kB / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.01828, allocations: 67.39 kB / 0.8879 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01828, allocations: 0 / 0.8879 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.0183, allocations: 4 kB / 0.8879 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.01843, allocations: 35.92 kB / 0.888 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.01844, allocations: 4 kB / 0.888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.01867, allocations: 67.89 kB / 0.888 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.0187, allocations: 15.98 kB / 0.888 GB, free: 11.87 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (31): * Single equations (assignments): 29 * 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.0001437/0.01885, allocations: 184.5 kB / 0.8882 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.01889, allocations: 23.86 kB / 0.8882 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.01919, allocations: 178.1 kB / 0.8884 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.01919, allocations: 3.984 kB / 0.8884 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01919, allocations: 4 kB / 0.8884 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.0192, allocations: 0 / 0.8884 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/0.01981, allocations: 0.5391 MB / 0.8889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01982, allocations: 0 / 0.8889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003097/0.02291, allocations: 27.92 kB / 0.889 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.02292, allocations: 4 kB / 0.889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.02294, allocations: 11.98 kB / 0.889 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.02294, allocations: 0 / 0.889 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02294, allocations: 3.938 kB / 0.889 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.02323, allocations: 346.6 kB / 0.8893 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.02326, allocations: 19.86 kB / 0.8893 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.02329, allocations: 12.09 kB / 0.8893 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.02338, allocations: 15.92 kB / 0.8894 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.02344, allocations: 23.91 kB / 0.8894 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.02346, allocations: 7.984 kB / 0.8894 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001162/0.02358, allocations: 180.6 kB / 0.8896 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02358, allocations: 0 / 0.8896 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003639/0.02394, allocations: 79.78 kB / 0.8896 GB, free: 10.12 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.0001578/0.0241, allocations: 120.7 kB / 0.8898 GB, free: 10 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.02453, allocations: 367.4 kB / 0.8901 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.02454, allocations: 0 / 0.8901 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.02464, allocations: 74.58 kB / 0.8902 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.02506, allocations: 72.33 kB / 0.8902 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008433/0.02591, allocations: 457.5 kB / 0.8907 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.25e-05/0.02597, allocations: 88.31 kB / 0.8908 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.465e-05/0.02605, allocations: 22.3 kB / 0.8908 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.02611, allocations: 32.48 kB / 0.8908 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.02611, allocations: 0 / 0.8908 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of Templates: time 0.01322/0.03933, allocations: 4.089 MB / 0.8948 GB, free: 4.855 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.791593463160098]