Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001805/0.001805, 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.002177/0.002177, allocations: 215.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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.325/3.325, allocations: 0.49 GB / 0.7959 GB, free: 35.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.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_12_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_12_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.002027/0.002027, allocations: 65.06 kB / 1.155 GB, free: 25.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4187, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel): time 0.005498/0.4242, allocations: 2.034 MB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004949/0.4291, allocations: 2.055 MB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004819/0.4296, allocations: 11.94 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.4299, allocations: 67.08 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.4304, allocations: 123 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.4332, allocations: 0.8109 MB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.4353, allocations: 1.148 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007661/0.436, allocations: 298.8 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.4368, allocations: 450.8 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008011/0.4376, allocations: 418.2 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003597/0.4379, allocations: 135.9 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.4383, allocations: 152 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.4385, allocations: 171.5 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006034/0.4391, allocations: 386.5 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.4415, allocations: 1.436 MB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4415, allocations: 3.938 kB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4415, allocations: 0 / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.4415, allocations: 4 kB / 1.337 GB, free: 7.25 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002655/0.4442, allocations: 1.133 MB / 1.338 GB, free: 6.035 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.945e-05/0.4442, allocations: 8.031 kB / 1.338 GB, free: 6.027 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.4446, allocations: 96.45 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.4459, allocations: 449.7 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.446, allocations: 57.69 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.4462, allocations: 80.36 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.4474, allocations: 0.489 MB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.4475, allocations: 3.938 kB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.4475, allocations: 28 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.4476, allocations: 12 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008527/0.4484, allocations: 345.1 kB / 1.339 GB, free: 4.453 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00383/0.4522, allocations: 1.389 MB / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.4534, allocations: 336.6 kB / 1.341 GB, free: 2.691 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.4538, allocations: 141.4 kB / 1.341 GB, free: 2.551 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.4538, allocations: 8.312 kB / 1.341 GB, free: 2.543 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007703/0.4546, allocations: 334.8 kB / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of pre-optimization done (n=54): time 3.987e-06/0.4546, allocations: 0 / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of matching and sorting (n=54): time 0.001737/0.4563, allocations: 0.5925 MB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.4564, allocations: 63.84 kB / 1.342 GB, free: 1.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007008/0.4571, allocations: 397.5 kB / 1.342 GB, free: 1.121 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.4572, allocations: 53.7 kB / 1.342 GB, free: 1.062 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.4576, allocations: 297 kB / 1.343 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.4579, allocations: 154.8 kB / 1.343 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.4584, allocations: 182.2 kB / 1.343 GB, free: 444 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.4586, allocations: 362.8 kB / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.4598, allocations: 479.7 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.4612, allocations: 0.6295 MB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.4627, allocations: 0.7236 MB / 1.345 GB, free: 14.01 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.4627, allocations: 4 kB / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003241/0.4659, allocations: 1.26 MB / 1.346 GB, free: 12.67 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.4662, allocations: 194.2 kB / 1.346 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.4662, allocations: 7.984 kB / 1.347 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.4662, allocations: 8 kB / 1.347 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.4667, allocations: 71.84 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.4667, allocations: 15.92 kB / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.4683, allocations: 187.6 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.4685, allocations: 51.97 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 43 (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,conProMod.nand1.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.0005717/0.4691, allocations: 237.6 kB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.4692, allocations: 51.61 kB / 1.347 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.4705, allocations: 485.4 kB / 1.348 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4705, allocations: 3.984 kB / 1.348 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4705, allocations: 0 / 1.348 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.4706, allocations: 43.66 kB / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.851e-05/0.4707, allocations: 15.98 kB / 1.348 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.471, allocations: 15.98 kB / 1.348 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.4711, allocations: 52.36 kB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001177/0.4723, allocations: 0.5269 MB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001584/0.4739, allocations: 0.8182 MB / 1.349 GB, free: 9.84 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004209/0.4743, allocations: 171.4 kB / 1.349 GB, free: 9.672 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004505/0.4748, allocations: 255.2 kB / 1.349 GB, free: 9.422 MB / 1.045 GB Notification: Performance of Backend: time 7.01e-07/0.4748, allocations: 0 / 1.349 GB, free: 9.422 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002465/0.4772, allocations: 1.06 MB / 1.35 GB, free: 8.242 MB / 1.045 GB Notification: Performance of SimCode: time 0.002749/0.48, allocations: 1.344 MB / 1.352 GB, free: 6.852 MB / 1.045 GB Notification: Performance of Templates: time 0.02621/0.5062, allocations: 10.99 MB / 1.362 GB, free: 12.1 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.Validation.ControlProcessModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_Validation_ControlProcessModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.83995025799959]