Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009446/0.0009446, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001171/0.001171, allocations: 181 kB / 24.09 MB, free: 420 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.998/0.998, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.973/1.973, allocations: 377.9 MB / 0.6239 GB, free: 8.441 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.204e-05, allocations: 2.312 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.001789/0.001811, allocations: 1.319 MB / 0.8133 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.003273, allocations: 1.529 MB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.003392, allocations: 4.719 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.003508, allocations: 39.53 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.144e-05/0.003589, allocations: 52.84 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.004065, allocations: 324.6 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.004381, allocations: 468.1 kB / 0.8157 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.00454, allocations: 129.6 kB / 0.8158 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.004711, allocations: 268.1 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.004848, allocations: 123.6 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.004894, allocations: 52.91 kB / 0.8162 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-05/0.004979, allocations: 63.98 kB / 0.8163 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.005026, allocations: 76.39 kB / 0.8163 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/0.005112, allocations: 131.7 kB / 0.8165 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.005552, allocations: 331.6 kB / 0.8168 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005555, allocations: 3.938 kB / 0.8168 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005556, allocations: 1.25 kB / 0.8168 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.00556, allocations: 0 / 0.8168 GB, free: 12.57 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0005508/0.006111, allocations: 0.677 MB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.006149, allocations: 8.031 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.00628, allocations: 72.62 kB / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.006495, allocations: 245 kB / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.006515, allocations: 25.81 kB / 0.8178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.006547, allocations: 32.38 kB / 0.8178 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.006712, allocations: 176.8 kB / 0.818 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.00672, allocations: 192 / 0.818 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.006735, allocations: 12.38 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.006741, allocations: 8.359 kB / 0.818 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.006819, allocations: 76.47 kB / 0.8181 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.007504, allocations: 0.7354 MB / 0.8188 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.007629, allocations: 108 kB / 0.8189 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.007671, allocations: 44.12 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.007688, allocations: 8.469 kB / 0.8189 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.007801, allocations: 113.7 kB / 0.819 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.993e-06/0.007803, allocations: 0.875 kB / 0.819 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.000218/0.008021, allocations: 183.6 kB / 0.8192 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.008052, allocations: 55.41 kB / 0.8193 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.008179, allocations: 271 kB / 0.8195 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.008205, allocations: 39.08 kB / 0.8196 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.008298, allocations: 227.2 kB / 0.8198 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.008335, allocations: 75.39 kB / 0.8199 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.05e-05/0.008415, allocations: 83.31 kB / 0.8199 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.008532, allocations: 0.5013 MB / 0.8204 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.008629, allocations: 123.3 kB / 0.8205 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.008776, allocations: 221.9 kB / 0.8208 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.00895, allocations: 250.2 kB / 0.821 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.008952, allocations: 0.6562 kB / 0.821 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003545/0.009307, allocations: 414 kB / 0.8214 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.009349, allocations: 71.39 kB / 0.8215 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.009355, allocations: 0.875 kB / 0.8215 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.009369, allocations: 4 kB / 0.8215 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/0.009454, allocations: 43.39 kB / 0.8215 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.009459, allocations: 4 kB / 0.8215 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.009603, allocations: 63.67 kB / 0.8216 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.009624, allocations: 15.98 kB / 0.8216 GB, free: 7.293 MB / 0.7761 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 (32): * Single equations (assignments): 30 * 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 9.986e-05/0.009724, allocations: 186.1 kB / 0.8218 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.009748, allocations: 27.86 kB / 0.8218 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.009915, allocations: 159 kB / 0.8219 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.009919, allocations: 7.984 kB / 0.822 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.009921, allocations: 0 / 0.822 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.009925, allocations: 0 / 0.822 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.01025, allocations: 488.2 kB / 0.8224 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01025, allocations: 0 / 0.8224 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/0.0103, allocations: 29.39 kB / 0.8224 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.0103, allocations: 4 kB / 0.8224 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.01031, allocations: 4 kB / 0.8225 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01031, allocations: 0 / 0.8225 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.01032, allocations: 8.828 kB / 0.8225 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.01049, allocations: 326.7 kB / 0.8228 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.01051, allocations: 28.69 kB / 0.8228 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.01053, allocations: 4 kB / 0.8228 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.01058, allocations: 5.344 kB / 0.8228 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.01062, allocations: 27.89 kB / 0.8228 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.01063, allocations: 12 kB / 0.8228 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.106e-05/0.0107, allocations: 182 kB / 0.823 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0107, allocations: 0 / 0.823 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002139/0.01092, allocations: 77.86 kB / 0.8231 GB, free: 5.672 MB / 0.7761 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 (22): * Single equations (assignments): 20 * 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.000131/0.01105, allocations: 115.2 kB / 0.8232 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.01146, allocations: 354 kB / 0.8235 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01146, allocations: 0 / 0.8235 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/0.01152, allocations: 64.33 kB / 0.8236 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.01179, allocations: 62.34 kB / 0.8237 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.01229, allocations: 450.8 kB / 0.8241 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.308e-05/0.01233, allocations: 85.38 kB / 0.8242 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.008e-05/0.01239, allocations: 28.97 kB / 0.8242 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.01254, allocations: 142.1 kB / 0.8243 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.01254, allocations: 1.094 kB / 0.8243 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of Templates: time 0.005856/0.0184, allocations: 4.356 MB / 0.8286 GB, free: 100 kB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.431649820879102]