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.Gain.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.001424/0.001424, allocations: 97.11 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.001769/0.001769, allocations: 203.6 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.646/1.646, 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.427/3.427, allocations: 0.49 GB / 0.7959 GB, free: 35.28 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.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [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.00209/0.00209, allocations: 66.66 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4017, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002906/0.4046, allocations: 1.131 MB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.407, allocations: 1.506 MB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.4072, allocations: 8 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.825e-05/0.4073, allocations: 15.75 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.4075, allocations: 59.5 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.4087, allocations: 460.3 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008102/0.4096, allocations: 0.5302 MB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.4098, allocations: 75.98 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.4101, allocations: 207.4 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.4105, allocations: 183.3 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.4106, allocations: 52 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.4108, allocations: 67.98 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.4109, allocations: 59.72 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.4111, allocations: 163.5 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007106/0.4118, allocations: 0.5645 MB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4118, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4118, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.4118, allocations: 4 kB / 1.332 GB, free: 11.9 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001168/0.413, allocations: 0.6333 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.413, allocations: 8.031 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.4131, allocations: 32.8 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.4136, allocations: 249.2 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.4136, allocations: 20.38 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.4137, allocations: 28.38 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.414, allocations: 161.7 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.414, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.414, allocations: 4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.4141, allocations: 7.984 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.4142, allocations: 91.95 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.4153, allocations: 0.5699 MB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.4156, allocations: 110.6 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4157, allocations: 61.02 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.4157, allocations: 4 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.4161, allocations: 157.1 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 2.245e-06/0.4161, allocations: 0 / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005357/0.4166, allocations: 263.4 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.4167, allocations: 67.33 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.4169, allocations: 236.9 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.417, allocations: 41.69 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.4172, allocations: 148.6 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/0.4172, allocations: 71.41 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.4174, allocations: 93.89 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4176, allocations: 342.8 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.418, allocations: 279 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.4185, allocations: 357.5 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.419, allocations: 396.9 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.419, allocations: 0 / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001135/0.4201, allocations: 0.7077 MB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.4202, allocations: 134.8 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4203, allocations: 4.281 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.4203, allocations: 8 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.4204, allocations: 27.92 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.4204, allocations: 7.938 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006817/0.4211, allocations: 115.7 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/0.4212, allocations: 35.97 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 17 (tunSta.y,$PRE.tunSta.y,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,$PRE.u.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 4 * 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.0002035/0.4214, allocations: 156.7 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.4214, allocations: 23.86 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.4215, allocations: 22.27 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4215, allocations: 0 / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4215, allocations: 3.938 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.4215, allocations: 31.78 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.4215, allocations: 4 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.4216, allocations: 4 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.4217, allocations: 19.97 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004033/0.4221, allocations: 276.8 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005481/0.4226, allocations: 456.5 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000121/0.4227, allocations: 68.55 kB / 1.338 GB, free: 5.004 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001683/0.4229, allocations: 164.5 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of Backend: time 6.01e-07/0.4229, allocations: 0 / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.424, allocations: 0.6619 MB / 1.339 GB, free: 4.105 MB / 1.029 GB Notification: Performance of SimCode: time 0.001222/0.4252, allocations: 0.8746 MB / 1.34 GB, free: 3.184 MB / 1.029 GB Notification: Performance of Templates: time 0.01191/0.4371, allocations: 5.765 MB / 1.346 GB, free: 13.59 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.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.847864504001336]