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.001029/0.001029, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001307/0.001307, allocations: 166.8 kB / 24.87 MB, free: 8.891 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.987/1.987, allocations: 377.9 MB / 0.6247 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.779e-05, allocations: 4.188 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.001795/0.001823, allocations: 1.168 MB / 0.8139 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.003422, allocations: 1.523 MB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.997e-05/0.003511, allocations: 4.719 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.003556, allocations: 27.67 kB / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.003697, allocations: 61.14 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.00436, allocations: 449.7 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.004754, allocations: 0.5263 MB / 0.8165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.004888, allocations: 73.62 kB / 0.8165 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.005199, allocations: 287.5 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.005383, allocations: 151.6 kB / 0.8169 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.005439, allocations: 52 kB / 0.817 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.005533, allocations: 66.59 kB / 0.8171 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.005575, allocations: 55.7 kB / 0.8171 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.005682, allocations: 151.7 kB / 0.8173 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.006011, allocations: 374.9 kB / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006014, allocations: 0 / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.206e-06/0.006017, allocations: 4 kB / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.006022, allocations: 0 / 0.8176 GB, free: 12.48 MB / 0.7761 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.0006474/0.00667, allocations: 0.7249 MB / 0.8183 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.006704, allocations: 8.562 kB / 0.8183 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.006784, allocations: 52.75 kB / 0.8184 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.007027, allocations: 245.2 kB / 0.8186 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.007056, allocations: 24.36 kB / 0.8186 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.007102, allocations: 32.36 kB / 0.8187 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.00724, allocations: 120.2 kB / 0.8188 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.00725, allocations: 0.8125 kB / 0.8188 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.007261, allocations: 4.375 kB / 0.8188 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.007269, allocations: 9.031 kB / 0.8188 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.607e-05/0.007325, allocations: 44.48 kB / 0.8188 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.007925, allocations: 0.5841 MB / 0.8194 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.008113, allocations: 91.08 kB / 0.8195 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.008152, allocations: 37.58 kB / 0.8195 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.008159, allocations: 3.938 kB / 0.8195 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.008305, allocations: 138.6 kB / 0.8197 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.008307, allocations: 0 / 0.8197 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0002758/0.008583, allocations: 200.8 kB / 0.8199 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.008614, allocations: 55.41 kB / 0.8199 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.008902, allocations: 280.7 kB / 0.8202 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.00894, allocations: 38.55 kB / 0.8202 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.009044, allocations: 207.2 kB / 0.8204 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.009081, allocations: 63.52 kB / 0.8205 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.009199, allocations: 109.6 kB / 0.8206 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.009315, allocations: 0.5117 MB / 0.8211 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.009481, allocations: 215 kB / 0.8213 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.009693, allocations: 335.8 kB / 0.8216 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.009948, allocations: 356.6 kB / 0.8219 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.009951, allocations: 4 kB / 0.8219 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005471/0.0105, allocations: 0.6258 MB / 0.8226 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.62e-05/0.01056, allocations: 131.3 kB / 0.8227 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01057, allocations: 0 / 0.8227 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.01058, allocations: 5.688 kB / 0.8227 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.01065, allocations: 31.92 kB / 0.8227 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01065, allocations: 4 kB / 0.8227 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.0109, allocations: 89.52 kB / 0.8228 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.01094, allocations: 27.98 kB / 0.8228 GB, free: 6.684 MB / 0.7761 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.0001203/0.01106, allocations: 196.1 kB / 0.823 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.01109, allocations: 27.86 kB / 0.8231 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.01113, allocations: 30.2 kB / 0.8231 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01113, allocations: 0 / 0.8231 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01113, allocations: 4 kB / 0.8231 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.01113, allocations: 0 / 0.8231 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.01147, allocations: 441.8 kB / 0.8235 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01147, allocations: 1.812 kB / 0.8235 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.01153, allocations: 16 kB / 0.8235 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01153, allocations: 0 / 0.8235 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01154, allocations: 3.984 kB / 0.8235 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01154, allocations: 4 kB / 0.8235 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01154, allocations: 1.031 kB / 0.8235 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.0118, allocations: 353.7 kB / 0.8239 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.01182, allocations: 23.8 kB / 0.8239 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01184, allocations: 5.125 kB / 0.8239 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.01189, allocations: 7.984 kB / 0.8239 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.01193, allocations: 11.98 kB / 0.8239 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01194, allocations: 13.02 kB / 0.8239 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.56e-05/0.01202, allocations: 193 kB / 0.8241 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01202, allocations: 0 / 0.8241 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002466/0.01227, allocations: 81.02 kB / 0.8242 GB, free: 5.25 MB / 0.7761 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.000139/0.01241, allocations: 121 kB / 0.8243 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.01279, allocations: 0.5498 MB / 0.8248 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01279, allocations: 0 / 0.8248 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.01285, allocations: 55.59 kB / 0.8249 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.01317, allocations: 85.16 kB / 0.825 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.01365, allocations: 389.4 kB / 0.8253 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.982e-05/0.0137, allocations: 80.33 kB / 0.8254 GB, free: 3.848 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.918e-05/0.01376, allocations: 19.98 kB / 0.8254 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.01398, allocations: 166.1 kB / 0.8256 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/0.01399, allocations: 0.5938 kB / 0.8256 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of Templates: time 0.007474/0.02146, allocations: 5.854 MB / 0.8313 GB, free: 14 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 240] 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","",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.5438229981809855]