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.Gain.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.0009456/0.0009456, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001055/0.001055, allocations: 161 kB / 24.17 MB, free: 332 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.9649/0.9649, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.912/1.912, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.563e-05, allocations: 6.25 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.001987/0.002012, allocations: 1.161 MB / 0.7612 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.003612, allocations: 1.542 MB / 0.7627 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.132e-05/0.003694, allocations: 4 kB / 0.7627 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.00374, allocations: 23.67 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.003882, allocations: 62.7 kB / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.004542, allocations: 453.2 kB / 0.7632 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.004932, allocations: 0.5275 MB / 0.7637 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.005066, allocations: 78.64 kB / 0.7638 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.005296, allocations: 295.5 kB / 0.7641 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.00548, allocations: 156.1 kB / 0.7642 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.005531, allocations: 52.53 kB / 0.7643 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.424e-05/0.005626, allocations: 69.52 kB / 0.7643 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.005667, allocations: 51.77 kB / 0.7644 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.00577, allocations: 151.7 kB / 0.7645 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.006065, allocations: 375 kB / 0.7649 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006068, allocations: 0 / 0.7649 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.192e-06/0.006069, allocations: 1.062 kB / 0.7649 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.006072, allocations: 0 / 0.7649 GB, free: 1.699 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005518/0.006624, allocations: 0.581 MB / 0.7655 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.006655, allocations: 8.031 kB / 0.7655 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.006716, allocations: 49.58 kB / 0.7655 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.007073, allocations: 188.8 kB / 0.7657 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.007098, allocations: 25.11 kB / 0.7657 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.007143, allocations: 32.38 kB / 0.7657 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.007262, allocations: 114.5 kB / 0.7659 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.007272, allocations: 192 / 0.7659 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.007283, allocations: 8.375 kB / 0.7659 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.007291, allocations: 8.125 kB / 0.7659 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.007338, allocations: 32.52 kB / 0.7659 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.007827, allocations: 381 kB / 0.7663 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.007984, allocations: 80.28 kB / 0.7663 GB, free: 120 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.008015, allocations: 24.84 kB / 0.7664 GB, free: 92 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.008022, allocations: 0 / 0.7664 GB, free: 92 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.008153, allocations: 138.3 kB / 0.7665 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.102e-06/0.008154, allocations: 0 / 0.7665 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0001926/0.008347, allocations: 155.9 kB / 0.7666 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.008376, allocations: 55.41 kB / 0.7667 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.008504, allocations: 217 kB / 0.7669 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.008538, allocations: 41.7 kB / 0.7669 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.008607, allocations: 144.5 kB / 0.7671 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.008638, allocations: 63.45 kB / 0.7671 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.008737, allocations: 92.62 kB / 0.7672 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.008808, allocations: 338.8 kB / 0.7676 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.008947, allocations: 199 kB / 0.7677 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.009117, allocations: 285.9 kB / 0.768 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.009323, allocations: 323.7 kB / 0.7683 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.009326, allocations: 0 / 0.7683 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000388/0.009714, allocations: 0.5332 MB / 0.7688 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.009773, allocations: 135.3 kB / 0.769 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.009781, allocations: 4.781 kB / 0.769 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.009795, allocations: 4 kB / 0.769 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.009852, allocations: 16.66 kB / 0.769 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.009859, allocations: 11.92 kB / 0.769 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.01007, allocations: 91.34 kB / 0.7691 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.0101, allocations: 23.97 kB / 0.7691 GB, free: 12.99 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 17 (tunSta.y,$PRE.tunSta.y,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,$PRE.u.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 4 * 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.14e-05/0.01019, allocations: 137.7 kB / 0.7693 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.01021, allocations: 27.03 kB / 0.7693 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.01025, allocations: 26.28 kB / 0.7693 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01025, allocations: 0 / 0.7693 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01025, allocations: 3.984 kB / 0.7693 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01026, allocations: 4 kB / 0.7693 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.0105, allocations: 314.6 kB / 0.7696 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.0105, allocations: 0 / 0.7696 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.01055, allocations: 19.92 kB / 0.7696 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01055, allocations: 1.125 kB / 0.7696 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.01056, allocations: 8 kB / 0.7696 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01056, allocations: 7.922 kB / 0.7696 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01057, allocations: 4.922 kB / 0.7697 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.01075, allocations: 249.2 kB / 0.7699 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.01077, allocations: 24.7 kB / 0.7699 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.01079, allocations: 4 kB / 0.7699 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.35e-05/0.01083, allocations: 7.984 kB / 0.7699 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.01086, allocations: 20.84 kB / 0.7699 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.01087, allocations: 4 kB / 0.7699 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.01092, allocations: 77.22 kB / 0.77 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01092, allocations: 0 / 0.77 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000206/0.01113, allocations: 79.89 kB / 0.7701 GB, free: 11.94 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gai.Iy.y) * Number of discrete variables: 13 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,tOn.booPul.y,tOff.booPul.y,tunSta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000114/0.01124, allocations: 97.83 kB / 0.7702 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.01161, allocations: 0.5386 MB / 0.7707 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01161, allocations: 4 kB / 0.7707 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.189e-05/0.01166, allocations: 55.22 kB / 0.7708 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.01191, allocations: 77.53 kB / 0.7708 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.01233, allocations: 381.9 kB / 0.7712 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.01238, allocations: 87.94 kB / 0.7713 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.375e-05/0.01243, allocations: 21.95 kB / 0.7713 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.01262, allocations: 135.3 kB / 0.7714 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of SimCode: time 5.62e-07/0.01262, allocations: 0 / 0.7714 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.006939/0.01956, allocations: 5.695 MB / 0.777 GB, free: 5.039 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.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.098815893288702]