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.001437/0.001437, allocations: 101.3 kB / 16.45 MB, free: 6.5 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.00149/0.00149, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.55/1.55, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.376/3.376, allocations: 0.4899 GB / 0.7916 GB, free: 33.21 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.002169/0.002169, allocations: 68.16 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4272, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003073/0.4303, allocations: 1.429 MB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002497/0.4328, allocations: 1.521 MB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.433, allocations: 12 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.4332, allocations: 35.55 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.4333, allocations: 47.58 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009723/0.4343, allocations: 331.1 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005202/0.4348, allocations: 468.1 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.4351, allocations: 133.2 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.4353, allocations: 175.5 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.4356, allocations: 175.2 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.182e-05/0.4356, allocations: 56 kB / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.4358, allocations: 71.98 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.4358, allocations: 67.78 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.436, allocations: 187.2 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006873/0.4367, allocations: 0.5797 MB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4367, allocations: 0 / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4367, allocations: 0 / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.4367, allocations: 0 / 1.326 GB, free: 13.56 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.001114/0.4378, allocations: 0.6541 MB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4379, allocations: 15.98 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.4381, allocations: 40.7 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.4385, allocations: 309.3 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.4385, allocations: 28.94 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/0.4386, allocations: 36.31 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.439, allocations: 225.4 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.439, allocations: 192 / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.439, allocations: 19.94 kB / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4391, allocations: 8 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.4393, allocations: 166.1 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.4407, allocations: 0.8774 MB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.441, allocations: 150.6 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.4411, allocations: 64.84 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.4411, allocations: 4 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.4414, allocations: 145.4 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.4414, allocations: 0 / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005273/0.4419, allocations: 260.1 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4419, allocations: 55.41 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.4422, allocations: 268.8 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.4423, allocations: 33.7 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.4424, allocations: 173 kB / 1.33 GB, free: 9.844 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.4425, allocations: 75.42 kB / 1.33 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.4427, allocations: 73.67 kB / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4428, allocations: 334.8 kB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.4431, allocations: 112.2 kB / 1.33 GB, free: 9.246 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.4433, allocations: 165.7 kB / 1.331 GB, free: 9.066 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.4437, allocations: 264.4 kB / 1.331 GB, free: 8.777 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.4437, allocations: 4 kB / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007116/0.4444, allocations: 422.7 kB / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-05/0.4445, allocations: 73.73 kB / 1.331 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4445, allocations: 3.938 kB / 1.331 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.4445, allocations: 7.938 kB / 1.331 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.4447, allocations: 27.98 kB / 1.331 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4447, allocations: 12.09 kB / 1.331 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.4451, allocations: 79.7 kB / 1.331 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.4451, allocations: 19.98 kB / 1.331 GB, free: 8.113 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.0001657/0.4453, allocations: 145.8 kB / 1.332 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.4453, allocations: 27.81 kB / 1.332 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.4457, allocations: 211.7 kB / 1.332 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.4457, allocations: 7.922 kB / 1.332 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4457, allocations: 0 / 1.332 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4458, allocations: 0 / 1.332 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000759/0.4465, allocations: 0.6256 MB / 1.332 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4465, allocations: 0 / 1.332 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.125e-05/0.4466, allocations: 24.09 kB / 1.332 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4466, allocations: 3.938 kB / 1.332 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.4466, allocations: 7.984 kB / 1.332 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4466, allocations: 0 / 1.332 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4466, allocations: 7.938 kB / 1.332 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.447, allocations: 317.8 kB / 1.333 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.4471, allocations: 100.9 kB / 1.333 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.4471, allocations: 4 kB / 1.333 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4473, allocations: 15.98 kB / 1.333 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.4473, allocations: 19.97 kB / 1.333 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.4474, allocations: 11.94 kB / 1.333 GB, free: 6.469 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001883/0.4475, allocations: 184.5 kB / 1.333 GB, free: 6.289 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4475, allocations: 0 / 1.333 GB, free: 6.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003725/0.4479, allocations: 79.83 kB / 1.333 GB, free: 6.211 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.0001832/0.4481, allocations: 121.1 kB / 1.333 GB, free: 6.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005827/0.4487, allocations: 342.5 kB / 1.334 GB, free: 5.727 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4487, allocations: 0 / 1.334 GB, free: 5.727 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.4488, allocations: 79.84 kB / 1.334 GB, free: 5.648 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.4493, allocations: 65.94 kB / 1.334 GB, free: 5.586 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/0.4502, allocations: 465.1 kB / 1.334 GB, free: 5.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.4506, allocations: 0.7597 MB / 1.335 GB, free: 4.316 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.477e-05/0.4507, allocations: 30.27 kB / 1.335 GB, free: 4.289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.4508, allocations: 23.44 kB / 1.335 GB, free: 4.266 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4508, allocations: 0 / 1.335 GB, free: 4.266 MB / 1.029 GB Notification: Performance of Templates: time 0.009104/0.4599, allocations: 3.928 MB / 1.339 GB, free: 448 kB / 1.029 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/jenkins/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.612299288157374]