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.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.001352/0.001352, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001503/0.001503, allocations: 157.5 kB / 23.01 MB, free: 4.602 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.484/1.484, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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 2.955/2.955, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 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.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_latest_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_latest_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.00211/0.00211, allocations: 63.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002533/1.043, allocations: 1.14 MB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001847/1.045, allocations: 1.491 MB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/1.045, allocations: 2.656 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.894e-05/1.045, allocations: 23.34 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/1.046, allocations: 60.17 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/1.047, allocations: 460.2 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005656/1.047, allocations: 0.5291 MB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/1.047, allocations: 70.7 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/1.048, allocations: 203.8 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/1.048, allocations: 167 kB / 1.191 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.64e-05/1.048, allocations: 57.41 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/1.048, allocations: 66.53 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/1.048, allocations: 58.08 kB / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/1.048, allocations: 165.1 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006986/1.049, allocations: 0.5554 MB / 1.192 GB, free: 13.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.049, allocations: 1.281 kB / 1.192 GB, free: 13.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/1.049, allocations: 0 / 1.192 GB, free: 13.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.793e-06/1.049, allocations: 0 / 1.192 GB, free: 13.3 MB / 1.076 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.0008841/1.05, allocations: 0.6311 MB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.05, allocations: 10.81 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/1.05, allocations: 38.95 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/1.05, allocations: 244.5 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/1.05, allocations: 23.06 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.227e-05/1.051, allocations: 29.34 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/1.051, allocations: 150.5 kB / 1.193 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.051, allocations: 3.938 kB / 1.193 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/1.051, allocations: 7.281 kB / 1.193 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/1.051, allocations: 3.281 kB / 1.193 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/1.051, allocations: 90.31 kB / 1.193 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009318/1.052, allocations: 0.5682 MB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/1.052, allocations: 124.9 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/1.052, allocations: 56.33 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/1.052, allocations: 1.5 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/1.053, allocations: 163 kB / 1.194 GB, free: 11.87 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/1.053, allocations: 0 / 1.194 GB, free: 11.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=22): time 0.0005344/1.053, allocations: 259.3 kB / 1.194 GB, free: 11.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/1.053, allocations: 63.83 kB / 1.194 GB, free: 11.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/1.053, allocations: 241 kB / 1.194 GB, free: 11.54 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/1.054, allocations: 38.38 kB / 1.194 GB, free: 11.51 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/1.054, allocations: 158.7 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/1.054, allocations: 60.36 kB / 1.194 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/1.054, allocations: 95.59 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.694e-05/1.054, allocations: 336.2 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/1.054, allocations: 282.4 kB / 1.195 GB, free: 10.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/1.055, allocations: 362.5 kB / 1.195 GB, free: 10.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/1.055, allocations: 399.2 kB / 1.196 GB, free: 10.15 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.055, allocations: 1.062 kB / 1.196 GB, free: 10.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001026/1.056, allocations: 0.719 MB / 1.196 GB, free: 9.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.057e-05/1.056, allocations: 136.8 kB / 1.197 GB, free: 9.543 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/1.056, allocations: 3.844 kB / 1.197 GB, free: 9.543 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.056, allocations: 4.719 kB / 1.197 GB, free: 9.543 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.931e-05/1.056, allocations: 27.97 kB / 1.197 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.056, allocations: 5.641 kB / 1.197 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/1.057, allocations: 116.3 kB / 1.197 GB, free: 9.516 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/1.057, allocations: 30.55 kB / 1.197 GB, free: 9.512 MB / 1.076 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.000137/1.057, allocations: 162 kB / 1.197 GB, free: 9.367 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/1.057, allocations: 23.44 kB / 1.197 GB, free: 9.355 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/1.057, allocations: 21.44 kB / 1.197 GB, free: 9.336 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.057, allocations: 7.469 kB / 1.197 GB, free: 9.332 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.057, allocations: 0 / 1.197 GB, free: 9.332 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.057, allocations: 5.594 kB / 1.197 GB, free: 9.328 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/1.058, allocations: 481.7 kB / 1.197 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.058, allocations: 0 / 1.197 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/1.058, allocations: 16.44 kB / 1.197 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.058, allocations: 1.031 kB / 1.197 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/1.058, allocations: 11.97 kB / 1.198 GB, free: 8.988 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.058, allocations: 1.031 kB / 1.198 GB, free: 8.988 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.058, allocations: 0.7969 kB / 1.198 GB, free: 8.988 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/1.059, allocations: 375.6 kB / 1.198 GB, free: 8.762 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/1.059, allocations: 23.83 kB / 1.198 GB, free: 8.746 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/1.059, allocations: 14.25 kB / 1.198 GB, free: 8.734 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/1.059, allocations: 2.859 kB / 1.198 GB, free: 8.734 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/1.059, allocations: 18.19 kB / 1.198 GB, free: 8.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/1.059, allocations: 11.94 kB / 1.198 GB, free: 8.727 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001384/1.059, allocations: 165.5 kB / 1.198 GB, free: 8.625 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.059, allocations: 1.156 kB / 1.198 GB, free: 8.625 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003831/1.059, allocations: 83.3 kB / 1.198 GB, free: 8.609 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gai.Iy.y) * Number of discrete variables: 13 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,tunSta.y,tOff.booPul.y,tOn.booPul.y,u.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001424/1.059, allocations: 112.3 kB / 1.198 GB, free: 8.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007033/1.06, allocations: 0.6295 MB / 1.199 GB, free: 8.016 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.06, allocations: 0 / 1.199 GB, free: 8.016 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/1.06, allocations: 69.31 kB / 1.199 GB, free: 7.996 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/1.061, allocations: 74.98 kB / 1.199 GB, free: 7.965 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007733/1.062, allocations: 416.1 kB / 1.199 GB, free: 7.699 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/1.062, allocations: 140.6 kB / 1.2 GB, free: 7.617 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.477e-05/1.062, allocations: 23.12 kB / 1.2 GB, free: 7.613 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/1.062, allocations: 25.98 kB / 1.2 GB, free: 7.602 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.062, allocations: 0 / 1.2 GB, free: 7.602 MB / 1.076 GB Notification: Performance of Templates: time 0.01211/1.074, allocations: 5.287 MB / 1.205 GB, free: 7 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.376630265964195]