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.0009774/0.0009774, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001159/0.001159, allocations: 177 kB / 23.36 MB, free: 1.129 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.445/2.445, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.685e-06/2.685e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.824e-05, allocations: 4.422 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002405/0.002433, allocations: 1.379 MB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.004602, allocations: 1.571 MB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.004783, allocations: 7.938 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.004938, allocations: 31.61 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.005074, allocations: 59.45 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007306/0.005804, allocations: 327.2 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00049/0.006294, allocations: 480.1 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.006521, allocations: 137.6 kB / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.006804, allocations: 263.5 kB / 0.8428 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.007005, allocations: 131.6 kB / 0.8429 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.325e-05/0.007068, allocations: 48 kB / 0.843 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.007203, allocations: 71.98 kB / 0.843 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.007259, allocations: 75.67 kB / 0.8431 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.00738, allocations: 131.7 kB / 0.8432 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.007791, allocations: 358.7 kB / 0.8436 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.007793, allocations: 0 / 0.8436 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.12e-07/0.007794, allocations: 0 / 0.8436 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.007799, allocations: 0 / 0.8436 GB, free: 9.039 MB / 0.8073 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.0008154/0.008615, allocations: 0.5502 MB / 0.8441 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.008653, allocations: 8.625 kB / 0.8441 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.008838, allocations: 56.89 kB / 0.8442 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.009122, allocations: 194.2 kB / 0.8443 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.009154, allocations: 29.03 kB / 0.8444 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.009195, allocations: 36.38 kB / 0.8444 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.009418, allocations: 179.3 kB / 0.8446 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.009429, allocations: 192 / 0.8446 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.009447, allocations: 12.38 kB / 0.8446 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.009459, allocations: 12.36 kB / 0.8446 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.009565, allocations: 76.38 kB / 0.8447 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008488/0.01041, allocations: 0.5337 MB / 0.8452 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.01065, allocations: 110.4 kB / 0.8453 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.01071, allocations: 40.78 kB / 0.8453 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.01073, allocations: 7.984 kB / 0.8454 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.01088, allocations: 114.5 kB / 0.8455 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.01088, allocations: 0 / 0.8455 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0002333/0.01111, allocations: 137.5 kB / 0.8456 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.01114, allocations: 59.34 kB / 0.8456 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.0113, allocations: 215.3 kB / 0.8459 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.01133, allocations: 37.7 kB / 0.8459 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.01144, allocations: 172.4 kB / 0.8461 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.01149, allocations: 75.42 kB / 0.8461 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.0116, allocations: 73.88 kB / 0.8462 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.0117, allocations: 342.8 kB / 0.8465 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.01184, allocations: 115.4 kB / 0.8466 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.01199, allocations: 180.2 kB / 0.8468 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.01222, allocations: 230.9 kB / 0.847 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01222, allocations: 0 / 0.847 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003757/0.0126, allocations: 353.6 kB / 0.8474 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.01265, allocations: 67.39 kB / 0.8474 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01265, allocations: 7.984 kB / 0.8474 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.01267, allocations: 0 / 0.8474 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.0128, allocations: 48.17 kB / 0.8475 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.0128, allocations: 7.938 kB / 0.8475 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.013, allocations: 59.8 kB / 0.8475 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.01303, allocations: 8 kB / 0.8476 GB, free: 4.648 MB / 0.8073 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.0001244/0.01316, allocations: 141.8 kB / 0.8477 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.01318, allocations: 19.92 kB / 0.8477 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.0134, allocations: 130 kB / 0.8478 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.0134, allocations: 7.984 kB / 0.8478 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.01341, allocations: 0 / 0.8478 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01341, allocations: 3.938 kB / 0.8478 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.0138, allocations: 368.8 kB / 0.8482 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01381, allocations: 0 / 0.8482 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.364e-05/0.01389, allocations: 35.98 kB / 0.8482 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01389, allocations: 0 / 0.8482 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.01391, allocations: 11.92 kB / 0.8482 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01391, allocations: 4.094 kB / 0.8482 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01391, allocations: 0 / 0.8482 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.0141, allocations: 233.9 kB / 0.8485 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.01414, allocations: 27.8 kB / 0.8485 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.01416, allocations: 4 kB / 0.8485 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.01424, allocations: 8 kB / 0.8485 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.0143, allocations: 27.89 kB / 0.8485 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01431, allocations: 7.938 kB / 0.8485 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.907e-05/0.01438, allocations: 67.41 kB / 0.8486 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01438, allocations: 0 / 0.8486 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003141/0.01469, allocations: 75.89 kB / 0.8487 GB, free: 3.422 MB / 0.8073 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.0001401/0.01483, allocations: 97.38 kB / 0.8488 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.01517, allocations: 345 kB / 0.8491 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.01517, allocations: 0 / 0.8491 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.01525, allocations: 59.34 kB / 0.8492 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.01557, allocations: 57.39 kB / 0.8492 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.01621, allocations: 442.5 kB / 0.8496 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.504e-05/0.01628, allocations: 92.19 kB / 0.8497 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.575e-05/0.01636, allocations: 30.28 kB / 0.8497 GB, free: 2.223 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.01656, allocations: 115.3 kB / 0.8499 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of SimCode: time 6.91e-07/0.01656, allocations: 0 / 0.8499 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of Templates: time 0.007677/0.02424, allocations: 4.388 MB / 0.8541 GB, free: 13.86 MB / 0.823 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 -s gbode -gbm=radauIIA3 -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.4790644478052855]