Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.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.001264/0.001264, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.00145/0.00145, allocations: 208.2 kB / 23 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.405/3.405, allocations: 0.505 GB / 0.8109 GB, free: 23.54 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.Validation.ControlProcessModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tunSta.y|tunEnd.y|u.y|ratioLT.y|tOn.y|tOff.y|conProMod.k|conProMod.T|conProMod.L",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tunSta.y|tunEnd.y|u.y|ratioLT.y|tOn.y|tOff.y|conProMod.k|conProMod.T|conProMod.L",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel") [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.003277/0.003277, allocations: 65.59 kB / 1.178 GB, free: 16.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.403, allocations: 180.2 MB / 1.354 GB, free: 7.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel): time 0.003962/0.407, allocations: 2.012 MB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003752/0.4107, allocations: 2.051 MB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006115/0.4113, allocations: 15.94 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.4117, allocations: 67.08 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005426/0.4123, allocations: 123 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.4146, allocations: 0.8138 MB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.4162, allocations: 1.144 MB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.4168, allocations: 302.8 kB / 1.36 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007071/0.4175, allocations: 438.8 kB / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007723/0.4183, allocations: 418.3 kB / 1.361 GB, free: 52 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.4187, allocations: 128 kB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.4191, allocations: 148 kB / 1.362 GB, free: 15.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.4193, allocations: 179.4 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004407/0.4197, allocations: 382.5 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.4214, allocations: 1.436 MB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4214, allocations: 0 / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4214, allocations: 0 / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.348e-05/0.4214, allocations: 0 / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001937/0.4233, allocations: 1.144 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4234, allocations: 12.03 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.4237, allocations: 92.47 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008665/0.4245, allocations: 449.8 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.4246, allocations: 61.62 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.4247, allocations: 80.36 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008675/0.4256, allocations: 492.8 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.4256, allocations: 3.938 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.4257, allocations: 31.98 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.4257, allocations: 12 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.4263, allocations: 341.1 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.4289, allocations: 1.382 MB / 1.367 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008238/0.4297, allocations: 358.6 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.43, allocations: 141.5 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.43, allocations: 12.31 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005247/0.4305, allocations: 330.9 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of pre-optimization done (n=54): time 2.835e-06/0.4305, allocations: 0 / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of matching and sorting (n=54): time 0.001165/0.4317, allocations: 0.5925 MB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.4318, allocations: 67.77 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.4322, allocations: 381.6 kB / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.4324, allocations: 53.7 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.4327, allocations: 305 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.4328, allocations: 158.7 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00035/0.4332, allocations: 190.2 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.4334, allocations: 358.8 kB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007364/0.4341, allocations: 483.7 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009266/0.435, allocations: 0.6229 MB / 1.371 GB, free: 5.367 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.4361, allocations: 0.7334 MB / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4361, allocations: 0 / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002018/0.4381, allocations: 1.238 MB / 1.373 GB, free: 3.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.4383, allocations: 202.2 kB / 1.373 GB, free: 2.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4383, allocations: 7.938 kB / 1.373 GB, free: 2.973 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.4383, allocations: 12.44 kB / 1.373 GB, free: 2.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.4386, allocations: 75.84 kB / 1.374 GB, free: 2.887 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.4386, allocations: 15.92 kB / 1.374 GB, free: 2.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.4397, allocations: 195.4 kB / 1.374 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.4398, allocations: 51.97 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 42 (conProMod.samT.y,$PRE.conProMod.samT.y,conProMod.samL.y,$PRE.conProMod.samL.y,tunSta.y,$PRE.tunSta.y,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,u.booPul.y,$PRE.u.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y,ratioLT.booPul.y,$PRE.ratioLT.booPul.y,conProMod.tunSta,conProMod.timConDel.gre1.greHys.y,$PRE.conProMod.timConDel.gre1.greHys.y,conProMod.timConDel.edg.u,$PRE.conProMod.timConDel.edg.u,conProMod.samK.y,$PRE.conProMod.samK.y,conProMod.samtOn.y,$PRE.conProMod.samtOn.y,conProMod.samTau.y,$PRE.conProMod.samTau.y,conProMod.not1.y,tunEnd.y,$PRE.tunEnd.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 6 * 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.0004021/0.4402, allocations: 225.9 kB / 1.374 GB, free: 2.398 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.4403, allocations: 47.86 kB / 1.374 GB, free: 2.352 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008803/0.4412, allocations: 493.3 kB / 1.375 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.4412, allocations: 3.984 kB / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4412, allocations: 0 / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.4413, allocations: 55.55 kB / 1.375 GB, free: 1.801 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.4414, allocations: 19.98 kB / 1.375 GB, free: 1.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.4415, allocations: 11.98 kB / 1.375 GB, free: 1.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.4416, allocations: 52.3 kB / 1.375 GB, free: 1.715 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008706/0.4425, allocations: 0.5231 MB / 1.375 GB, free: 1.188 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001218/0.4437, allocations: 0.8221 MB / 1.376 GB, free: 360 kB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002752/0.444, allocations: 179.4 kB / 1.376 GB, free: 176 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003468/0.4443, allocations: 255.2 kB / 1.376 GB, free: 15.92 MB / 1.076 GB Notification: Performance of Backend: time 4.71e-07/0.4443, allocations: 0 / 1.376 GB, free: 15.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001869/0.4462, allocations: 1.054 MB / 1.377 GB, free: 14.75 MB / 1.076 GB Notification: Performance of SimCode: time 0.002144/0.4484, allocations: 1.338 MB / 1.379 GB, free: 13.36 MB / 1.076 GB Notification: Performance of Templates: time 0.01957/0.4679, allocations: 10.99 MB / 1.389 GB, free: 2.602 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_Validation_ControlProcessModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.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.881877579005959]