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.001976/0.001976, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002103/0.002103, allocations: 216 kB / 22.26 MB, free: 5.113 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.654/1.654, allocations: 230.6 MB / 256 MB, free: 8.027 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.467/3.467, allocations: 0.49 GB / 0.795 GB, free: 33.39 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.002176/0.002176, allocations: 72.22 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4107, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.004305/0.415, allocations: 1.225 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003506/0.4185, allocations: 1.525 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.4188, allocations: 4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.419, allocations: 19.69 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.4193, allocations: 59.52 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.4212, allocations: 472.1 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.4223, allocations: 0.5303 MB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.4226, allocations: 64 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004981/0.4231, allocations: 211.5 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.4236, allocations: 187.3 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.4238, allocations: 60 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.424, allocations: 67.98 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.4241, allocations: 51.78 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003684/0.4245, allocations: 199.2 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009908/0.4255, allocations: 0.5595 MB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.4255, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4255, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.4255, allocations: 0 / 1.331 GB, free: 12.24 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.001586/0.4271, allocations: 0.6351 MB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4272, allocations: 12.03 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.4273, allocations: 36.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.4279, allocations: 249.2 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.428, allocations: 20.38 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.4281, allocations: 32.36 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.4285, allocations: 141.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4285, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.4285, allocations: 8 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.4286, allocations: 4 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.4288, allocations: 95.89 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.4304, allocations: 0.7058 MB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.4309, allocations: 122.8 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.4311, allocations: 48.84 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.4311, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/0.4315, allocations: 159.2 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.4315, allocations: 0 / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0008134/0.4323, allocations: 263 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.4324, allocations: 63.41 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.4328, allocations: 236.9 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/0.4329, allocations: 37.7 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.4331, allocations: 152.5 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/0.4332, allocations: 59.48 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/0.4334, allocations: 97.88 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4336, allocations: 334.8 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.434, allocations: 156.2 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.4344, allocations: 238.6 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.435, allocations: 392.9 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.435, allocations: 8 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001627/0.4367, allocations: 0.5858 MB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.4368, allocations: 136.4 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/0.4369, allocations: 0 / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-05/0.4369, allocations: 7.938 kB / 1.336 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.437, allocations: 27.92 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.437, allocations: 4.281 kB / 1.336 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000683/0.4377, allocations: 119.7 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.4378, allocations: 27.97 kB / 1.336 GB, free: 6.73 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,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.0002231/0.438, allocations: 162.2 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.4381, allocations: 23.8 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.627e-05/0.4381, allocations: 30.2 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4382, allocations: 0 / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4382, allocations: 0 / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4382, allocations: 0 / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007673/0.4389, allocations: 0.5231 MB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.4389, allocations: 7.938 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.626e-05/0.439, allocations: 19.92 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.439, allocations: 4 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.4391, allocations: 8.094 kB / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4391, allocations: 0 / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4391, allocations: 0 / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.4397, allocations: 383.1 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.539e-05/0.4397, allocations: 19.83 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.4397, allocations: 19.92 kB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.4398, allocations: 4 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.4399, allocations: 24.03 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.4399, allocations: 4 kB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001859/0.4401, allocations: 172.5 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4401, allocations: 0 / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004319/0.4405, allocations: 79.89 kB / 1.338 GB, free: 5.188 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,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.0001914/0.4407, allocations: 111.2 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00084/0.4416, allocations: 0.503 MB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4416, allocations: 4 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.4417, allocations: 71.91 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.4422, allocations: 69.58 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.4432, allocations: 421.3 kB / 1.339 GB, free: 3.945 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.4436, allocations: 0.748 MB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.311e-05/0.4437, allocations: 21.95 kB / 1.34 GB, free: 3.152 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.4437, allocations: 23.42 kB / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/0.4437, allocations: 4 kB / 1.34 GB, free: 3.125 MB / 1.029 GB Notification: Performance of Templates: time 0.01149/0.4552, allocations: 4.903 MB / 1.345 GB, free: 14.33 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.87093532178551]