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.001515/0.001515, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001792/0.001792, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.036/1.036, allocations: 177.1 MB / 204.2 MB, free: 5.184 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.931/1.931, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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 2.324e-06/2.324e-06, allocations: 0 / 0.8116 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.972e-05, allocations: 10.25 kB / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002086/0.002116, allocations: 1.358 MB / 0.8129 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.00396, allocations: 1.526 MB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.00413, allocations: 7.938 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.004284, allocations: 34.03 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.004387, allocations: 59.45 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.005053, allocations: 327.2 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.005487, allocations: 468.1 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.005697, allocations: 130.8 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.005933, allocations: 259.5 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.006096, allocations: 128.6 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.006149, allocations: 48 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.006253, allocations: 71.97 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.0063, allocations: 64.64 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.006406, allocations: 131.7 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.006763, allocations: 343.9 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.006767, allocations: 4 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.333e-06/0.006768, allocations: 0 / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.006774, allocations: 1.5 kB / 0.8164 GB, free: 12.8 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.0007542/0.007528, allocations: 0.6671 MB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.007569, allocations: 12.02 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.007744, allocations: 70.64 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.008041, allocations: 253 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.008074, allocations: 36.95 kB / 0.8174 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.008109, allocations: 32.38 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.008348, allocations: 184.9 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.008358, allocations: 192 / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.008378, allocations: 12.38 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.008387, allocations: 4.375 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.008523, allocations: 100.8 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.009347, allocations: 0.7232 MB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.009534, allocations: 116.1 kB / 0.8185 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.009594, allocations: 43.58 kB / 0.8186 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.009616, allocations: 15.92 kB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.009764, allocations: 123.2 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 3.135e-06/0.009767, allocations: 0.5312 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.000306/0.01007, allocations: 196.9 kB / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.01011, allocations: 55.41 kB / 0.8189 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.01027, allocations: 270.6 kB / 0.8192 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.0103, allocations: 37.69 kB / 0.8192 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01041, allocations: 228.1 kB / 0.8194 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.01045, allocations: 71.73 kB / 0.8195 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-05/0.01055, allocations: 84.17 kB / 0.8196 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.01067, allocations: 0.5001 MB / 0.8201 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.01084, allocations: 151.2 kB / 0.8202 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.01101, allocations: 218.4 kB / 0.8204 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.01124, allocations: 270.5 kB / 0.8207 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01124, allocations: 0 / 0.8207 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000464/0.01171, allocations: 440.3 kB / 0.8211 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.01177, allocations: 74.55 kB / 0.8212 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01178, allocations: 4 kB / 0.8212 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.01179, allocations: 7.984 kB / 0.8212 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.0119, allocations: 35.92 kB / 0.8212 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.01191, allocations: 4 kB / 0.8212 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.01208, allocations: 59.69 kB / 0.8213 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.0121, allocations: 24.48 kB / 0.8213 GB, free: 7.383 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 0.0001115/0.01221, allocations: 178.7 kB / 0.8215 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.01224, allocations: 32.92 kB / 0.8215 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.01247, allocations: 171.5 kB / 0.8217 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01247, allocations: 1.344 kB / 0.8217 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.01248, allocations: 0 / 0.8217 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01248, allocations: 3.984 kB / 0.8217 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.0129, allocations: 0.5227 MB / 0.8222 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0129, allocations: 4 kB / 0.8222 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.01297, allocations: 24.64 kB / 0.8222 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.01298, allocations: 4 kB / 0.8222 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.01299, allocations: 2.469 kB / 0.8222 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.013, allocations: 11.94 kB / 0.8222 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.013, allocations: 0 / 0.8222 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.01332, allocations: 344.8 kB / 0.8226 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.01336, allocations: 23.84 kB / 0.8226 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.01339, allocations: 8 kB / 0.8226 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.01346, allocations: 6.969 kB / 0.8226 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.01351, allocations: 27.89 kB / 0.8226 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.01353, allocations: 8 kB / 0.8226 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.804e-05/0.01362, allocations: 189.5 kB / 0.8228 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01362, allocations: 0 / 0.8228 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002391/0.01386, allocations: 75.83 kB / 0.8229 GB, free: 5.68 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.0001458/0.01401, allocations: 122.5 kB / 0.823 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.01436, allocations: 375.5 kB / 0.8234 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01436, allocations: 1.094 kB / 0.8234 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/0.01443, allocations: 63.53 kB / 0.8234 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.01483, allocations: 67.78 kB / 0.8235 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/0.01552, allocations: 460.1 kB / 0.8239 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.806e-05/0.01557, allocations: 88.31 kB / 0.824 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.533e-05/0.01565, allocations: 23 kB / 0.824 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.0157, allocations: 26.16 kB / 0.8241 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of SimCode: time 1.112e-06/0.0157, allocations: 0 / 0.8241 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of Templates: time 0.006686/0.02238, allocations: 4.283 MB / 0.8282 GB, free: 264 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.337820595130324]