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.001488/0.001488, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001932/0.001932, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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 3.444/3.444, allocations: 0.5049 GB / 0.81 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 67.25 kB / 1.177 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4221, allocations: 180.2 MB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002934/0.4251, allocations: 1.215 MB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002497/0.4276, allocations: 1.53 MB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.4278, allocations: 4 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.641e-05/0.4279, allocations: 19.69 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.4281, allocations: 63.5 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.4295, allocations: 463.5 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008216/0.4303, allocations: 0.5225 MB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.4305, allocations: 71.98 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.431, allocations: 207.4 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004333/0.4314, allocations: 195.3 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.4316, allocations: 56 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.4317, allocations: 60 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.4318, allocations: 59.75 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.4321, allocations: 191.3 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007551/0.4328, allocations: 0.5567 MB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4328, allocations: 0 / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4328, allocations: 0 / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.4328, allocations: 0 / 1.358 GB, free: 2.734 MB / 1.045 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.001215/0.434, allocations: 0.645 MB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4341, allocations: 8.031 kB / 1.359 GB, free: 2.023 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.4342, allocations: 40.75 kB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.4347, allocations: 245.3 kB / 1.359 GB, free: 1.719 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.4348, allocations: 16.38 kB / 1.359 GB, free: 1.703 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.112e-05/0.4349, allocations: 28.38 kB / 1.359 GB, free: 1.676 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.4352, allocations: 149.8 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.4352, allocations: 0 / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.4352, allocations: 11.98 kB / 1.36 GB, free: 1.512 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4352, allocations: 8 kB / 1.36 GB, free: 1.504 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.4354, allocations: 83.95 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.4367, allocations: 0.7096 MB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.4371, allocations: 122.8 kB / 1.36 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4372, allocations: 52.84 kB / 1.36 GB, free: 496 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.4372, allocations: 0 / 1.36 GB, free: 496 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003818/0.4376, allocations: 160.9 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.4376, allocations: 0 / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0005873/0.4382, allocations: 262.1 kB / 1.361 GB, free: 56 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.4383, allocations: 63.39 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.4386, allocations: 232.9 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.4386, allocations: 41.7 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.4388, allocations: 152.5 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.4389, allocations: 59.48 kB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.4391, allocations: 101.9 kB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.4393, allocations: 330.8 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.4397, allocations: 152.2 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.44, allocations: 243.2 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.4406, allocations: 391.1 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.4406, allocations: 4 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001055/0.4417, allocations: 0.5897 MB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.4418, allocations: 138.8 kB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4418, allocations: 0 / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.4418, allocations: 7.938 kB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4419, allocations: 27.92 kB / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.4419, allocations: 12.22 kB / 1.363 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.4426, allocations: 107.8 kB / 1.363 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.4426, allocations: 35.91 kB / 1.363 GB, free: 13.21 MB / 1.061 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.0002342/0.4429, allocations: 161.7 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.4429, allocations: 19.86 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.927e-05/0.443, allocations: 34.2 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.443, allocations: 4 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.443, allocations: 0 / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.443, allocations: 0 / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007799/0.4438, allocations: 0.5192 MB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.4438, allocations: 0 / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.4439, allocations: 35.86 kB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.4439, allocations: 0 / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.4439, allocations: 4 kB / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4439, allocations: 0 / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4439, allocations: 0 / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.4445, allocations: 377.3 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.4445, allocations: 23.83 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.4446, allocations: 7.984 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.4447, allocations: 8.062 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.4447, allocations: 19.97 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.4447, allocations: 7.938 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001831/0.4449, allocations: 172.5 kB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4449, allocations: 3.938 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004094/0.4453, allocations: 79.89 kB / 1.365 GB, free: 11.68 MB / 1.061 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.0001884/0.4455, allocations: 115.2 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008334/0.4464, allocations: 0.5013 MB / 1.365 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4464, allocations: 0 / 1.365 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.4465, allocations: 75.84 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.447, allocations: 74.31 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.4479, allocations: 421.3 kB / 1.366 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.4483, allocations: 0.7558 MB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.203e-05/0.4484, allocations: 17.95 kB / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.4485, allocations: 23.44 kB / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of SimCode: time 9.01e-07/0.4485, allocations: 4 kB / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of Templates: time 0.01182/0.4603, allocations: 4.895 MB / 1.372 GB, free: 4.812 MB / 1.061 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: 10.011582048144192]