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.001693/0.001693, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002055/0.002055, allocations: 213.3 kB / 23 MB, free: 4.969 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.329/3.329, allocations: 0.505 GB / 0.8109 GB, free: 23.47 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.002357/0.002357, allocations: 73 kB / 1.178 GB, free: 16.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.41, allocations: 180.2 MB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.00285/0.4129, allocations: 1.301 MB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.4152, allocations: 1.505 MB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.4154, allocations: 8 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.4155, allocations: 35.53 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.4157, allocations: 55.52 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.4165, allocations: 337.3 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.417, allocations: 476.1 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.4173, allocations: 141.7 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.4175, allocations: 179.4 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.4177, allocations: 175.2 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.4178, allocations: 56 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.4179, allocations: 72 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.418, allocations: 75.69 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.4182, allocations: 163.3 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.4189, allocations: 0.5915 MB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4189, allocations: 0 / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4189, allocations: 0 / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.4189, allocations: 0 / 1.359 GB, free: 2.207 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.00104/0.4199, allocations: 0.5906 MB / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.42, allocations: 12.03 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.4202, allocations: 40.75 kB / 1.36 GB, free: 1.52 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.4207, allocations: 259.4 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.4207, allocations: 25.03 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.4208, allocations: 40.31 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.4212, allocations: 238.7 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4212, allocations: 192 / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.4213, allocations: 11.94 kB / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.4213, allocations: 8 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.4216, allocations: 174.5 kB / 1.36 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.4228, allocations: 0.7072 MB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.4233, allocations: 175 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.4234, allocations: 74.33 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.4234, allocations: 0 / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.4237, allocations: 140.5 kB / 1.362 GB, free: 15.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.4237, allocations: 4 kB / 1.362 GB, free: 15.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0005241/0.4242, allocations: 260.2 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4243, allocations: 55.41 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.4245, allocations: 227.8 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.4246, allocations: 33.7 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.4247, allocations: 188.5 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.4248, allocations: 71.33 kB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.4249, allocations: 69.69 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4251, allocations: 346.7 kB / 1.363 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.4253, allocations: 179.3 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.4256, allocations: 248.5 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.426, allocations: 264.5 kB / 1.363 GB, free: 13.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.426, allocations: 4 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007353/0.4268, allocations: 496 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.095e-05/0.4268, allocations: 67.56 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.505e-06/0.4268, allocations: 7.984 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4268, allocations: 4 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.427, allocations: 31.92 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.427, allocations: 7.938 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.4274, allocations: 71.78 kB / 1.364 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.4274, allocations: 19.98 kB / 1.364 GB, free: 12.84 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.000162/0.4276, allocations: 153.8 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.4276, allocations: 19.86 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.428, allocations: 219.6 kB / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.428, allocations: 0 / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.428, allocations: 0 / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.428, allocations: 31.78 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.4281, allocations: 4 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.4282, allocations: 11.92 kB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.4282, allocations: 19.97 kB / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004025/0.4286, allocations: 287.3 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003742/0.429, allocations: 374.4 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00012/0.4291, allocations: 69.8 kB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001476/0.4293, allocations: 164.6 kB / 1.365 GB, free: 11.47 MB / 1.061 GB Notification: Performance of Backend: time 5.51e-07/0.4293, allocations: 0 / 1.365 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008433/0.4301, allocations: 436.4 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of SimCode: time 0.001118/0.4313, allocations: 0.8818 MB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of Templates: time 0.009333/0.4406, allocations: 4.782 MB / 1.371 GB, free: 5.41 MB / 1.061 GB " [Timeout remaining time 300] 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/jenkins1/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.442332122001972]