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.001304/0.001304, allocations: 96.42 kB / 19.7 MB, free: 2.125 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.001478/0.001478, allocations: 204.6 kB / 22.99 MB, free: 4.934 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.13/3.13, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] 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.002075/0.002075, allocations: 72.8 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3854, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003251/0.3887, allocations: 1.274 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002541/0.3912, allocations: 1.509 MB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.3915, allocations: 4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.3917, allocations: 39.53 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.3918, allocations: 43.59 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008752/0.3927, allocations: 337.9 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005351/0.3932, allocations: 468.2 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.3935, allocations: 133.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.3937, allocations: 183.5 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.3939, allocations: 171.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.736e-05/0.394, allocations: 52 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.3941, allocations: 67.98 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.3942, allocations: 79.75 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.3944, allocations: 143.4 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.395, allocations: 0.5798 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.395, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.084e-06/0.395, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.395, allocations: 0 / 1.332 GB, free: 11.94 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.001028/0.396, allocations: 0.5867 MB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3961, allocations: 12.03 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3963, allocations: 44.69 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.3967, allocations: 239.6 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.3968, allocations: 25.03 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.3968, allocations: 36.38 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/0.3973, allocations: 230.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3973, allocations: 192 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.3973, allocations: 19.94 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3973, allocations: 8 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.3976, allocations: 162.5 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.3989, allocations: 0.6838 MB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.3992, allocations: 148.3 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3993, allocations: 76.72 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3993, allocations: 4 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.3996, allocations: 141.7 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.3996, allocations: 0 / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0004985/0.4001, allocations: 243.3 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.4001, allocations: 71.25 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.4004, allocations: 219.8 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.4004, allocations: 33.7 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.4006, allocations: 184.5 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.4006, allocations: 67.42 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.4008, allocations: 77.67 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4009, allocations: 334.8 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.4012, allocations: 179.6 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.4015, allocations: 229 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.4019, allocations: 269.2 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4019, allocations: 0 / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007424/0.4027, allocations: 488.2 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.4028, allocations: 71.42 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4028, allocations: 0 / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.4028, allocations: 7.938 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4029, allocations: 35.92 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.403, allocations: 4 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/0.4034, allocations: 75.77 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.4034, allocations: 19.98 kB / 1.337 GB, free: 6.688 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.0001995/0.4036, allocations: 158.3 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.4036, allocations: 19.91 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.404, allocations: 207.5 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.404, allocations: 4 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.404, allocations: 3.938 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.404, allocations: 0 / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000705/0.4047, allocations: 0.5083 MB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4048, allocations: 8.031 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.697e-05/0.4048, allocations: 20 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.4049, allocations: 11.88 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.4049, allocations: 3.984 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4049, allocations: 4 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4049, allocations: 4 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.4053, allocations: 316.2 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.4053, allocations: 19.86 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.4053, allocations: 11.94 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.4055, allocations: 11.98 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.4055, allocations: 27.95 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.4056, allocations: 8 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001496/0.4057, allocations: 156.6 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4057, allocations: 0 / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000361/0.4061, allocations: 75.78 kB / 1.338 GB, free: 5.047 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.0001965/0.4063, allocations: 132.1 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006049/0.4069, allocations: 406.2 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4069, allocations: 0 / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.407, allocations: 91.86 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.4075, allocations: 60.72 kB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008715/0.4084, allocations: 492.8 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.4086, allocations: 154.8 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.4086, allocations: 27.44 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4086, allocations: 0 / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of Templates: time 0.006444/0.4151, allocations: 3.666 MB / 1.343 GB, free: 15.97 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 -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: 11.229813062003814]