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.001648/0.001648, allocations: 103 kB / 16.45 MB, free: 6.449 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.002249/0.002249, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.623/1.623, allocations: 230.6 MB / 252.8 MB, free: 9.148 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.427/3.427, allocations: 0.4899 GB / 0.7915 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002332/0.002332, allocations: 68.48 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.426, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.003063/0.4291, allocations: 1.229 MB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002473/0.4316, allocations: 1.513 MB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.4318, allocations: 4 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.902e-05/0.4319, allocations: 19.69 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.4321, allocations: 71.48 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.4334, allocations: 453.2 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008159/0.4342, allocations: 0.5341 MB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.4344, allocations: 75.52 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.4348, allocations: 203.5 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.4351, allocations: 183.3 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.4352, allocations: 56 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.4354, allocations: 67.92 kB / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.4354, allocations: 51.83 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.4357, allocations: 195.3 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007493/0.4364, allocations: 0.5566 MB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4364, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4364, allocations: 4 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.4364, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 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.001146/0.4376, allocations: 0.6922 MB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.4376, allocations: 11.98 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.4377, allocations: 32.8 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/0.4384, allocations: 307.1 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.4384, allocations: 24.36 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/0.4385, allocations: 36.31 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.4388, allocations: 145.8 kB / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4388, allocations: 0 / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.4389, allocations: 7.984 kB / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4389, allocations: 4 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.439, allocations: 91.95 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.4404, allocations: 0.7417 MB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.4408, allocations: 122.7 kB / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.4409, allocations: 53.02 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.4409, allocations: 3.938 kB / 1.329 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.4412, allocations: 159.2 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.4412, allocations: 0 / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005516/0.4417, allocations: 259.4 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.4418, allocations: 63.34 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.4421, allocations: 237 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.171e-05/0.4422, allocations: 41.69 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.4423, allocations: 152.5 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.54e-05/0.4424, allocations: 63.47 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.4426, allocations: 97.89 kB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4428, allocations: 338.8 kB / 1.33 GB, free: 9.773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.4431, allocations: 152.2 kB / 1.33 GB, free: 9.625 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.4436, allocations: 231.2 kB / 1.33 GB, free: 9.363 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/0.4443, allocations: 399.4 kB / 1.331 GB, free: 8.914 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.4443, allocations: 0 / 1.331 GB, free: 8.914 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001154/0.4455, allocations: 0.5897 MB / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.4456, allocations: 139.1 kB / 1.331 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4456, allocations: 8 kB / 1.331 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.4456, allocations: 7.938 kB / 1.331 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4457, allocations: 27.92 kB / 1.331 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.4458, allocations: 4 kB / 1.331 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.4464, allocations: 119.7 kB / 1.331 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.4465, allocations: 27.98 kB / 1.332 GB, free: 7.941 MB / 1.029 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 0.0002057/0.4467, allocations: 153.7 kB / 1.332 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.4467, allocations: 23.86 kB / 1.332 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.052e-05/0.4468, allocations: 30.11 kB / 1.332 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4468, allocations: 4 kB / 1.332 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4468, allocations: 0 / 1.332 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4468, allocations: 4 kB / 1.332 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007/0.4475, allocations: 0.5491 MB / 1.332 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4475, allocations: 0 / 1.332 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.4476, allocations: 15.94 kB / 1.332 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.4476, allocations: 3.984 kB / 1.332 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.4476, allocations: 8 kB / 1.332 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4476, allocations: 0 / 1.332 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4476, allocations: 3.938 kB / 1.332 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.4482, allocations: 384.4 kB / 1.333 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.4483, allocations: 100.9 kB / 1.333 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.4483, allocations: 4 kB / 1.333 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.4484, allocations: 11.92 kB / 1.333 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.4484, allocations: 15.98 kB / 1.333 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.4484, allocations: 8 kB / 1.333 GB, free: 6.531 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001671/0.4486, allocations: 168.5 kB / 1.333 GB, free: 6.367 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4486, allocations: 0 / 1.333 GB, free: 6.367 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004042/0.449, allocations: 83.88 kB / 1.333 GB, free: 6.285 MB / 1.029 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.0001864/0.4492, allocations: 123.9 kB / 1.333 GB, free: 6.156 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000921/0.4501, allocations: 0.4974 MB / 1.334 GB, free: 5.609 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4501, allocations: 4 kB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.4504, allocations: 67.91 kB / 1.334 GB, free: 5.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.4509, allocations: 77.83 kB / 1.334 GB, free: 5.469 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.4518, allocations: 421 kB / 1.334 GB, free: 5.035 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.4523, allocations: 0.7521 MB / 1.335 GB, free: 4.258 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.518e-05/0.4524, allocations: 29.94 kB / 1.335 GB, free: 4.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.4524, allocations: 27.42 kB / 1.335 GB, free: 4.203 MB / 1.029 GB Notification: Performance of SimCode: time 6.92e-07/0.4524, allocations: 0 / 1.335 GB, free: 4.203 MB / 1.029 GB Notification: Performance of Templates: time 0.01212/0.4645, allocations: 4.811 MB / 1.34 GB, free: 15.51 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.904820676892996]