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.001534/0.001534, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001898/0.001898, allocations: 218 kB / 23.01 MB, free: 4.605 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.168/3.168, allocations: 0.49 GB / 0.7958 GB, free: 33.5 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.002094/0.002094, allocations: 73.11 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3636, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002864/0.3664, allocations: 1.423 MB / 1.329 GB, free: 64 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.3687, allocations: 1.533 MB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.3689, allocations: 8 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.3691, allocations: 35.55 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.3692, allocations: 51.58 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3704, allocations: 334.2 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009811/0.3714, allocations: 464.1 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.3718, allocations: 141.7 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.3721, allocations: 171.5 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.3724, allocations: 183.2 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.581e-05/0.3725, allocations: 48 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.3726, allocations: 71.98 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.3727, allocations: 71.77 kB / 1.332 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.373, allocations: 183.2 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008441/0.3738, allocations: 0.5798 MB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.3738, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3738, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.3738, allocations: 0 / 1.332 GB, free: 12.21 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.001145/0.375, allocations: 0.5828 MB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.375, allocations: 8.031 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.3753, allocations: 44.7 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.3757, allocations: 243.6 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.3757, allocations: 25.03 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.3758, allocations: 36.38 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.3762, allocations: 226.7 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3763, allocations: 192 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.3763, allocations: 15.94 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3763, allocations: 8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.3766, allocations: 166.5 kB / 1.334 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3781, allocations: 0.847 MB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.3785, allocations: 150.6 kB / 1.335 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.3786, allocations: 64.78 kB / 1.335 GB, free: 9.668 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.3786, allocations: 0 / 1.335 GB, free: 9.668 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.3789, allocations: 145.3 kB / 1.335 GB, free: 9.516 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.3789, allocations: 0 / 1.335 GB, free: 9.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005061/0.3794, allocations: 249.4 kB / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3795, allocations: 63.59 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.3797, allocations: 265 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.3798, allocations: 33.7 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.3799, allocations: 180.7 kB / 1.336 GB, free: 8.703 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.38, allocations: 67.44 kB / 1.336 GB, free: 8.637 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.3801, allocations: 73.67 kB / 1.336 GB, free: 8.559 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3803, allocations: 334.8 kB / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.3805, allocations: 112.2 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.3808, allocations: 169.7 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.3812, allocations: 273.1 kB / 1.337 GB, free: 7.633 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3812, allocations: 0 / 1.337 GB, free: 7.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006853/0.3819, allocations: 424.7 kB / 1.337 GB, free: 7.199 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.3819, allocations: 71.39 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3819, allocations: 7.938 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.382, allocations: 0 / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3821, allocations: 31.92 kB / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3821, allocations: 4 kB / 1.337 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.3825, allocations: 87.8 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.3825, allocations: 19.98 kB / 1.337 GB, free: 6.969 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.0001721/0.3827, allocations: 154.3 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.3827, allocations: 27.81 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.3831, allocations: 218.6 kB / 1.338 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.3831, allocations: 7.938 kB / 1.338 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3831, allocations: 0 / 1.338 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3831, allocations: 0 / 1.338 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/0.3839, allocations: 0.5856 MB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3839, allocations: 0 / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.384, allocations: 24 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.384, allocations: 12.08 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.384, allocations: 3.984 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.384, allocations: 4 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.384, allocations: 0 / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.3844, allocations: 313.8 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.3844, allocations: 27.86 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.3844, allocations: 8 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3846, allocations: 11.98 kB / 1.338 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.3846, allocations: 27.91 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3847, allocations: 11.94 kB / 1.339 GB, free: 5.449 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002014/0.3849, allocations: 180.5 kB / 1.339 GB, free: 5.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3849, allocations: 0 / 1.339 GB, free: 5.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003486/0.3852, allocations: 75.83 kB / 1.339 GB, free: 5.195 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.0002014/0.3854, allocations: 128.5 kB / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005405/0.3859, allocations: 348.2 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.386, allocations: 0 / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.3861, allocations: 87.84 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.3866, allocations: 62.34 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008635/0.3875, allocations: 490.2 kB / 1.34 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.3878, allocations: 0.7558 MB / 1.341 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.3879, allocations: 35.44 kB / 1.341 GB, free: 3.219 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3879, allocations: 0 / 1.341 GB, free: 3.219 MB / 1.029 GB Notification: Performance of Templates: time 0.006428/0.3943, allocations: 3.696 MB / 1.344 GB, free: 15.56 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.486869414977264]