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.TimeConstantDelay.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.001566/0.001566, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001687/0.001687, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.608/1.608, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.431/3.431, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") [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.002058/0.002058, allocations: 74.17 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4171, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002948/0.42, allocations: 1.279 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.4224, allocations: 1.502 MB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.4226, allocations: 4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.4228, allocations: 35.53 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.4229, allocations: 47.59 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008889/0.4238, allocations: 331.9 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.4243, allocations: 472.1 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.4246, allocations: 137.6 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.4248, allocations: 187.4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.425, allocations: 167.3 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.317e-05/0.4251, allocations: 52 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.4253, allocations: 75.92 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.4253, allocations: 71.77 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.4255, allocations: 155.4 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007213/0.4262, allocations: 0.5837 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4262, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4262, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.495e-06/0.4262, allocations: 0 / 1.332 GB, free: 11.95 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001069/0.4273, allocations: 0.5789 MB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4274, allocations: 8.031 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.4275, allocations: 44.7 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.428, allocations: 251.6 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.4281, allocations: 21.03 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.4281, allocations: 32.38 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.4286, allocations: 230.7 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.4286, allocations: 192 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.4286, allocations: 15.94 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4286, allocations: 4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.429, allocations: 162.5 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.4304, allocations: 0.6994 MB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.4307, allocations: 142.7 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.4308, allocations: 68.73 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.4309, allocations: 4 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.4311, allocations: 140 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.4311, allocations: 0 / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005328/0.4317, allocations: 244.8 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.4317, allocations: 59.34 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.432, allocations: 227.8 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.432, allocations: 37.7 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.4322, allocations: 184.8 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.319e-05/0.4323, allocations: 71.38 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.4324, allocations: 77.61 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4326, allocations: 334.8 kB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.4329, allocations: 179.6 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.4332, allocations: 229 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.4336, allocations: 269.2 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4336, allocations: 0 / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007883/0.4344, allocations: 488 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.308e-05/0.4345, allocations: 81.05 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.4345, allocations: 0 / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.4345, allocations: 7.938 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.4347, allocations: 31.92 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4347, allocations: 0 / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.4351, allocations: 83.92 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.4352, allocations: 16 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ratioLT.booPul.y,$PRE.ratioLT.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,timConDel.edg.u,$PRE.timConDel.edg.u,timConDel.gre1.greHys.y,$PRE.timConDel.gre1.greHys.y,timConDel.triFai) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001843/0.4353, allocations: 158.3 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.4354, allocations: 15.91 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/0.4358, allocations: 207.5 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4358, allocations: 4 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4358, allocations: 3.938 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.4358, allocations: 3.984 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.4365, allocations: 0.5098 MB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4365, allocations: 0 / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.4366, allocations: 27.92 kB / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.4366, allocations: 3.938 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.4367, allocations: 8 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.4367, allocations: 7.984 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.4367, allocations: 4.094 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.4371, allocations: 307.3 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.4371, allocations: 23.84 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.4372, allocations: 11.94 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.4373, allocations: 11.98 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.4374, allocations: 19.97 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.4374, allocations: 11.98 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001956/0.4376, allocations: 156.6 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4376, allocations: 0 / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004224/0.4381, allocations: 79.78 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,timConDel.triFai,timConDel.gre1.greHys.y,timConDel.edg.u,tOn.booPul.y,ratioLT.booPul.y) * Number of discrete states: 2 (timConDel.gre1.greHys.y,timConDel.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002038/0.4383, allocations: 136.8 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000647/0.4389, allocations: 398 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4389, allocations: 0 / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.4391, allocations: 79.86 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.4396, allocations: 77 kB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009146/0.4405, allocations: 455.1 kB / 1.339 GB, free: 3.855 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.4406, allocations: 150.9 kB / 1.34 GB, free: 3.691 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.802e-05/0.4407, allocations: 29.94 kB / 1.34 GB, free: 3.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.4408, allocations: 23.44 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.4408, allocations: 0 / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of Templates: time 0.009037/0.4498, allocations: 4.292 MB / 1.344 GB, free: 15.48 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.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.802673591999337]