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.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.0007662/0.0007662, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008163/0.0008163, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9224/0.9224, allocations: 177.1 MB / 203.5 MB, free: 5.754 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 1.804/1.804, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.658e-05/3.942e-05, allocations: 5.234 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.001744/0.001783, allocations: 1.12 MB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.003342, allocations: 1.505 MB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.771e-05/0.00343, allocations: 4 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.487e-05/0.003475, allocations: 23.67 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.003604, allocations: 59.52 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.004301, allocations: 463.6 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.004688, allocations: 0.538 MB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.00484, allocations: 79.89 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.005061, allocations: 291.5 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.005246, allocations: 147.6 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.005298, allocations: 52 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/0.005391, allocations: 71.92 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.005432, allocations: 55.77 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.005548, allocations: 151.7 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.006022, allocations: 0.6234 MB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.006026, allocations: 0 / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.854e-06/0.006028, allocations: 0 / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.006033, allocations: 7.938 kB / 1.006 GB, free: 7.812 MB / 0.9636 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.0006399/0.006673, allocations: 0.6178 MB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.006714, allocations: 8.75 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.006784, allocations: 40.73 kB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.007072, allocations: 248.9 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.007095, allocations: 28.36 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.007139, allocations: 32.31 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.007306, allocations: 143.7 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.007319, allocations: 192 / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.007334, allocations: 4.375 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.007341, allocations: 11.94 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.007462, allocations: 92.41 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.008142, allocations: 0.57 MB / 1.008 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.008408, allocations: 118.6 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.008471, allocations: 45.03 kB / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.008486, allocations: 4 kB / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.008704, allocations: 163.2 kB / 1.008 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.008705, allocations: 0 / 1.008 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22): time 0.0003741/0.009079, allocations: 267.9 kB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.009117, allocations: 55.41 kB / 1.008 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.009284, allocations: 233.8 kB / 1.009 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.009321, allocations: 37.7 kB / 1.009 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/0.009418, allocations: 160.4 kB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.009452, allocations: 59.53 kB / 1.009 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.009563, allocations: 105.8 kB / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.009652, allocations: 338.8 kB / 1.009 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.01, allocations: 283 kB / 1.01 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.01028, allocations: 365.9 kB / 1.01 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.01059, allocations: 388.9 kB / 1.01 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01059, allocations: 4 kB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006588/0.01125, allocations: 0.72 MB / 1.011 GB, free: 2.344 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.01132, allocations: 134.8 kB / 1.011 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01132, allocations: 4 kB / 1.011 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.01134, allocations: 4 kB / 1.011 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.015e-05/0.0114, allocations: 31.92 kB / 1.011 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.0114, allocations: 4.281 kB / 1.011 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.01171, allocations: 123.7 kB / 1.011 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.01174, allocations: 23.98 kB / 1.011 GB, free: 2 MB / 0.9636 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,tOn.booPul.y,$PRE.tOn.booPul.y,tOff.booPul.y,$PRE.tOff.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 0.0001217/0.01186, allocations: 157.8 kB / 1.011 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.01188, allocations: 23.86 kB / 1.011 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.01192, allocations: 22.28 kB / 1.011 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.01192, allocations: 7.984 kB / 1.011 GB, free: 1.777 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01193, allocations: 0 / 1.011 GB, free: 1.777 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01193, allocations: 0 / 1.011 GB, free: 1.777 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.0123, allocations: 473.9 kB / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.0123, allocations: 0 / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.01236, allocations: 19.98 kB / 1.012 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01236, allocations: 3.938 kB / 1.012 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01237, allocations: 8 kB / 1.012 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.01237, allocations: 4 kB / 1.012 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01238, allocations: 0 / 1.012 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.0127, allocations: 381.4 kB / 1.012 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.01272, allocations: 15.86 kB / 1.012 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.01275, allocations: 11.98 kB / 1.012 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.01279, allocations: 0 / 1.012 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.01283, allocations: 27.98 kB / 1.012 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.01284, allocations: 8 kB / 1.012 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001032/0.01294, allocations: 169.2 kB / 1.013 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01294, allocations: 0 / 1.013 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002447/0.01319, allocations: 83.95 kB / 1.013 GB, free: 0.5469 MB / 0.9636 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,tunSta.y,tOff.booPul.y,tOn.booPul.y,u.booPul.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.0001466/0.01334, allocations: 121 kB / 1.013 GB, free: 432 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.01385, allocations: 0.6134 MB / 1.013 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01386, allocations: 0 / 1.013 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.004e-05/0.01395, allocations: 90.02 kB / 1.013 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.01427, allocations: 76.92 kB / 1.013 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.01482, allocations: 445.1 kB / 1.014 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.364e-05/0.0149, allocations: 134.2 kB / 1.014 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.01494, allocations: 28.48 kB / 1.014 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of SimCode: time 1.012e-06/0.01495, allocations: 0 / 1.014 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of Templates: time 0.004413/0.01936, allocations: 3.984 MB / 1.018 GB, free: 10.98 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.79710787255317]