Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001501/0.001501, allocations: 111 kB / 16.46 MB, free: 6.453 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.001755/0.001755, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.565/1.565, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.557/3.557, allocations: 0.5049 GB / 0.8065 GB, free: 23.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002107/0.002107, allocations: 69.91 kB / 1.172 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.5006, allocations: 180.2 MB / 1.348 GB, free: 9.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003313/0.5039, allocations: 1.446 MB / 1.35 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002767/0.5067, allocations: 1.529 MB / 1.351 GB, free: 6.469 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.5069, allocations: 8 kB / 1.351 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.5071, allocations: 35.53 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.5073, allocations: 47.59 kB / 1.351 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009945/0.5083, allocations: 346.7 kB / 1.352 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006237/0.5089, allocations: 480.1 kB / 1.352 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.5092, allocations: 133.2 kB / 1.352 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.5094, allocations: 175.5 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.5097, allocations: 183.2 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.081e-05/0.5098, allocations: 59.94 kB / 1.353 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.51, allocations: 67.98 kB / 1.353 GB, free: 4.965 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.51, allocations: 71.78 kB / 1.353 GB, free: 4.895 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.5103, allocations: 195.1 kB / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009086/0.5112, allocations: 0.5837 MB / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.5112, allocations: 7.938 kB / 1.353 GB, free: 4.109 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5112, allocations: 0 / 1.353 GB, free: 4.109 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.5112, allocations: 0 / 1.353 GB, free: 4.109 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001234/0.5124, allocations: 0.6658 MB / 1.354 GB, free: 3.379 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5125, allocations: 11.98 kB / 1.354 GB, free: 3.367 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.5127, allocations: 40.75 kB / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.5133, allocations: 309.3 kB / 1.354 GB, free: 2.984 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.5133, allocations: 28.94 kB / 1.354 GB, free: 2.953 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.5134, allocations: 36.31 kB / 1.354 GB, free: 2.918 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.5138, allocations: 237.4 kB / 1.355 GB, free: 2.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5139, allocations: 192 / 1.355 GB, free: 2.68 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.5139, allocations: 19.94 kB / 1.355 GB, free: 2.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.5139, allocations: 8 kB / 1.355 GB, free: 2.652 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.5142, allocations: 170.2 kB / 1.355 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.5159, allocations: 0.8969 MB / 1.356 GB, free: 1.539 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.5164, allocations: 180.6 kB / 1.356 GB, free: 1.355 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.5165, allocations: 64.84 kB / 1.356 GB, free: 1.289 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.5166, allocations: 11.97 kB / 1.356 GB, free: 1.277 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.5168, allocations: 144.2 kB / 1.356 GB, free: 1.125 MB / 1.045 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.5168, allocations: 0 / 1.356 GB, free: 1.125 MB / 1.045 GB Notification: Performance of matching and sorting (n=23): time 0.000589/0.5174, allocations: 259.5 kB / 1.356 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.5175, allocations: 55.41 kB / 1.356 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.5178, allocations: 261 kB / 1.357 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.5178, allocations: 37.7 kB / 1.357 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.518, allocations: 180.6 kB / 1.357 GB, free: 320 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.5181, allocations: 67.42 kB / 1.357 GB, free: 252 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.5182, allocations: 81.62 kB / 1.357 GB, free: 164 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.5184, allocations: 346.8 kB / 1.357 GB, free: 15.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.5187, allocations: 112 kB / 1.357 GB, free: 15.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.519, allocations: 169 kB / 1.358 GB, free: 15.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.5195, allocations: 272.4 kB / 1.358 GB, free: 15.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5195, allocations: 0 / 1.358 GB, free: 15.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000917/0.5204, allocations: 432.7 kB / 1.358 GB, free: 14.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.936e-05/0.5205, allocations: 71.39 kB / 1.358 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5205, allocations: 0 / 1.358 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5205, allocations: 4 kB / 1.358 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.5207, allocations: 40.08 kB / 1.358 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.5207, allocations: 7.938 kB / 1.358 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.5212, allocations: 79.66 kB / 1.359 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.5212, allocations: 27.92 kB / 1.359 GB, free: 14.54 MB / 1.061 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 (31): * Single equations (assignments): 29 * 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.0001926/0.5214, allocations: 154 kB / 1.359 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.5214, allocations: 19.86 kB / 1.359 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/0.5219, allocations: 221.2 kB / 1.359 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.5219, allocations: 0 / 1.359 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.5219, allocations: 4 kB / 1.359 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5219, allocations: 0 / 1.359 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008762/0.5228, allocations: 0.6314 MB / 1.36 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5228, allocations: 4.031 kB / 1.36 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.5229, allocations: 23.94 kB / 1.36 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.5229, allocations: 7.922 kB / 1.36 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.5229, allocations: 11.94 kB / 1.36 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.5229, allocations: 3.984 kB / 1.36 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5229, allocations: 4 kB / 1.36 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.5234, allocations: 328.5 kB / 1.36 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.5235, allocations: 100.9 kB / 1.36 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.5235, allocations: 11.98 kB / 1.36 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.5236, allocations: 8 kB / 1.36 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.5237, allocations: 23.97 kB / 1.36 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.5238, allocations: 7.984 kB / 1.36 GB, free: 12.87 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002211/0.524, allocations: 180.5 kB / 1.36 GB, free: 12.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.524, allocations: 4 kB / 1.36 GB, free: 12.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003979/0.5244, allocations: 75.83 kB / 1.36 GB, free: 12.61 MB / 1.061 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 (23): * Single equations (assignments): 21 * 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.0002363/0.5246, allocations: 127.2 kB / 1.36 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007454/0.5254, allocations: 351.2 kB / 1.361 GB, free: 12.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5254, allocations: 0 / 1.361 GB, free: 12.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.5255, allocations: 81.95 kB / 1.361 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.5261, allocations: 62.44 kB / 1.361 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.5272, allocations: 478.8 kB / 1.361 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/0.5278, allocations: 0.7638 MB / 1.362 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.5279, allocations: 30.27 kB / 1.362 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.5279, allocations: 27.44 kB / 1.362 GB, free: 10.63 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.5279, allocations: 0 / 1.362 GB, free: 10.63 MB / 1.061 GB Notification: Performance of Templates: time 0.009774/0.5377, allocations: 3.965 MB / 1.366 GB, free: 6.762 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.935408947058022]