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.001839/0.001839, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002261/0.002261, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.797 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.471/3.471, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.002086/0.002086, allocations: 67.89 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4053, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002603/0.4079, allocations: 1.124 MB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002403/0.4103, allocations: 1.498 MB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.4104, allocations: 4 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.999e-05/0.4105, allocations: 23.67 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.4107, allocations: 63.5 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.412, allocations: 459.8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006714/0.4126, allocations: 0.5224 MB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.4129, allocations: 76.91 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.4131, allocations: 203.5 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.4134, allocations: 167.3 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.849e-05/0.4135, allocations: 52 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.4137, allocations: 64 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.312e-05/0.4138, allocations: 63.7 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.414, allocations: 163.5 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007546/0.4147, allocations: 0.5606 MB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4148, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4148, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.4148, allocations: 0 / 1.33 GB, free: 12.86 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.0009936/0.4158, allocations: 0.6294 MB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4158, allocations: 16.02 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.922e-05/0.4159, allocations: 32.8 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.4163, allocations: 253.2 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.4164, allocations: 24.38 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/0.4165, allocations: 28.38 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.4167, allocations: 149.8 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.4168, allocations: 3.938 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.4168, allocations: 4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4168, allocations: 4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.417, allocations: 91.95 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.4181, allocations: 0.5699 MB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.4186, allocations: 114.5 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4187, allocations: 53.02 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.4187, allocations: 4 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/0.4191, allocations: 168.3 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.4191, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005451/0.4196, allocations: 259.3 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.4197, allocations: 59.34 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.42, allocations: 236.9 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.42, allocations: 45.69 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.4202, allocations: 152.5 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.4202, allocations: 67.47 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.4204, allocations: 93.89 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4206, allocations: 338.8 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.421, allocations: 282.9 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.4215, allocations: 358.4 kB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.422, allocations: 391.3 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.422, allocations: 0 / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00114/0.4232, allocations: 0.7175 MB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.4233, allocations: 134.8 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4233, allocations: 4 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4233, allocations: 7.938 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.4235, allocations: 27.86 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4235, allocations: 4 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.4241, allocations: 120 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.4241, allocations: 31.97 kB / 1.336 GB, free: 7.039 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.0002021/0.4243, allocations: 154.2 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.4244, allocations: 23.86 kB / 1.336 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.4244, allocations: 26.27 kB / 1.336 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4244, allocations: 7.938 kB / 1.336 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4244, allocations: 0 / 1.336 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.4244, allocations: 0 / 1.336 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/0.4251, allocations: 478 kB / 1.336 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4251, allocations: 0 / 1.336 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.154e-05/0.4252, allocations: 16 kB / 1.336 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4252, allocations: 7.938 kB / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4252, allocations: 7.922 kB / 1.336 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4252, allocations: 8 kB / 1.336 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.4252, allocations: 0 / 1.336 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.4257, allocations: 370.1 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.4258, allocations: 31.81 kB / 1.337 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.4258, allocations: 7.938 kB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.4259, allocations: 4 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.426, allocations: 15.97 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.426, allocations: 12.08 kB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001832/0.4262, allocations: 168.5 kB / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4262, allocations: 4 kB / 1.337 GB, free: 5.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003809/0.4265, allocations: 79.89 kB / 1.337 GB, free: 5.582 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.000176/0.4267, allocations: 127.3 kB / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008559/0.4276, allocations: 0.622 MB / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4276, allocations: 0 / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.4277, allocations: 71.91 kB / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.4282, allocations: 68.88 kB / 1.338 GB, free: 4.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.429, allocations: 419 kB / 1.338 GB, free: 4.188 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.4291, allocations: 138.2 kB / 1.338 GB, free: 4.031 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.723e-05/0.4292, allocations: 25.95 kB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.4293, allocations: 19.44 kB / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4293, allocations: 0 / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of Templates: time 0.01057/0.4398, allocations: 5.51 MB / 1.344 GB, free: 14.64 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.87920187227428]