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.00115/0.00115, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001358/0.001358, allocations: 170 kB / 23.27 MB, free: 1.227 MB / 18.57 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 0.9997/0.9997, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.446/2.446, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.536e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.001801/0.001826, allocations: 1.168 MB / 0.8909 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.003479, allocations: 1.52 MB / 0.8924 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.003596, allocations: 0 / 0.8924 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.955e-05/0.003645, allocations: 27.67 kB / 0.8924 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.003795, allocations: 63.45 kB / 0.8925 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.004557, allocations: 451 kB / 0.8929 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.005038, allocations: 0.5301 MB / 0.8934 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.00519, allocations: 68.05 kB / 0.8935 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.005471, allocations: 291.5 kB / 0.8938 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.005659, allocations: 147.6 kB / 0.8939 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.005714, allocations: 55.94 kB / 0.894 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.005809, allocations: 60 kB / 0.894 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.005846, allocations: 47.83 kB / 0.8941 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.00595, allocations: 159.7 kB / 0.8942 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.006274, allocations: 378.9 kB / 0.8946 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.006276, allocations: 0 / 0.8946 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.774e-06/0.006278, allocations: 4 kB / 0.8946 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.006283, allocations: 0 / 0.8946 GB, free: 4.789 MB / 0.8542 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.0006159/0.006899, allocations: 0.7319 MB / 0.8953 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.006935, allocations: 8.625 kB / 0.8953 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.00701, allocations: 52.75 kB / 0.8954 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.007232, allocations: 243.6 kB / 0.8956 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.007256, allocations: 20.36 kB / 0.8956 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.0073, allocations: 36.38 kB / 0.8957 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.007563, allocations: 120.2 kB / 0.8958 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.007572, allocations: 192 / 0.8958 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.007582, allocations: 4.375 kB / 0.8958 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.007589, allocations: 8.125 kB / 0.8958 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.553e-05/0.007644, allocations: 44.41 kB / 0.8958 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.008233, allocations: 0.5932 MB / 0.8964 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.0084, allocations: 83.33 kB / 0.8965 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.204e-05/0.008442, allocations: 35.59 kB / 0.8965 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-06/0.008451, allocations: 3.984 kB / 0.8965 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.008586, allocations: 138.9 kB / 0.8966 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.008587, allocations: 0 / 0.8966 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.0002489/0.008836, allocations: 203.2 kB / 0.8968 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.008866, allocations: 59.39 kB / 0.8969 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.009002, allocations: 276.2 kB / 0.8972 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.009035, allocations: 41.7 kB / 0.8972 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.777e-05/0.009133, allocations: 211.2 kB / 0.8974 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.009165, allocations: 55.56 kB / 0.8975 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.00928, allocations: 107.5 kB / 0.8976 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.009396, allocations: 0.5117 MB / 0.8981 GB, free: 1.016 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.009561, allocations: 215 kB / 0.8983 GB, free: 0.7812 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.009748, allocations: 331.7 kB / 0.8986 GB, free: 392 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.009988, allocations: 358.8 kB / 0.8989 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.009991, allocations: 0 / 0.8989 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005194/0.01051, allocations: 0.6263 MB / 0.8995 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.01057, allocations: 137.1 kB / 0.8997 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01058, allocations: 4 kB / 0.8997 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.01059, allocations: 8 kB / 0.8997 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/0.01065, allocations: 27.92 kB / 0.8997 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.01066, allocations: 7.938 kB / 0.8997 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.01089, allocations: 83.81 kB / 0.8998 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.01093, allocations: 23.98 kB / 0.8998 GB, free: 14.97 MB / 0.8698 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.0001144/0.01104, allocations: 201.5 kB / 0.9 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.01107, allocations: 31.81 kB / 0.9 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.0111, allocations: 26.27 kB / 0.9001 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01111, allocations: 4 kB / 0.9001 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01111, allocations: 0 / 0.9001 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01111, allocations: 0 / 0.9001 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.01143, allocations: 433.8 kB / 0.9005 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01143, allocations: 0 / 0.9005 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.01148, allocations: 27.94 kB / 0.9005 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01149, allocations: 0 / 0.9005 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.0115, allocations: 7.984 kB / 0.9005 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.0115, allocations: 3.938 kB / 0.9005 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0115, allocations: 0 / 0.9005 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.01174, allocations: 345.5 kB / 0.9008 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.01177, allocations: 27.73 kB / 0.9009 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.01179, allocations: 8 kB / 0.9009 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.611e-05/0.01183, allocations: 3.984 kB / 0.9009 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.01186, allocations: 15.97 kB / 0.9009 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01187, allocations: 12 kB / 0.9009 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.945e-05/0.01195, allocations: 197.1 kB / 0.9011 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01195, allocations: 0 / 0.9011 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002537/0.0122, allocations: 75.89 kB / 0.9012 GB, free: 13.52 MB / 0.8698 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.0001258/0.01233, allocations: 115.2 kB / 0.9013 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.01271, allocations: 0.5506 MB / 0.9018 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01271, allocations: 0.5625 kB / 0.9018 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/0.01277, allocations: 66.22 kB / 0.9019 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.01308, allocations: 73.06 kB / 0.902 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.01354, allocations: 391.2 kB / 0.9023 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.832e-05/0.01359, allocations: 80.33 kB / 0.9024 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.962e-05/0.01366, allocations: 22.22 kB / 0.9024 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.01407, allocations: 166.1 kB / 0.9026 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of SimCode: time 8.02e-07/0.01407, allocations: 0 / 0.9026 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of Templates: time 0.00746/0.02153, allocations: 5.714 MB / 0.9082 GB, free: 6.391 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.436886064242572]