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.0009936/0.0009936, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001454/0.001454, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.013/1.013, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.945/1.945, allocations: 377.9 MB / 0.624 GB, free: 8.41 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 1.463e-06/1.463e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.318e-05, allocations: 2.312 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.001487/0.0015, allocations: 1.159 MB / 0.8132 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.002883, allocations: 1.527 MB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.002968, allocations: 4 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.315e-05/0.003011, allocations: 23.67 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.003141, allocations: 68.97 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.003745, allocations: 440.8 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.004095, allocations: 0.5355 MB / 0.8157 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.004219, allocations: 68.03 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.004908, allocations: 293.1 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.005074, allocations: 143.6 kB / 0.8162 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.00513, allocations: 52 kB / 0.8162 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.652e-05/0.005216, allocations: 71.92 kB / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.005253, allocations: 54.42 kB / 0.8163 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.794e-05/0.005351, allocations: 147.7 kB / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.005629, allocations: 386.8 kB / 0.8168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.005631, allocations: 0 / 0.8168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.92e-07/0.005632, allocations: 0 / 0.8168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.005635, allocations: 0 / 0.8168 GB, free: 12.5 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.0005746/0.00621, allocations: 0.7281 MB / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.006242, allocations: 12.56 kB / 0.8176 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.006309, allocations: 53.45 kB / 0.8176 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.006522, allocations: 247.6 kB / 0.8179 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.006543, allocations: 20.89 kB / 0.8179 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.006585, allocations: 28.38 kB / 0.8179 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.006714, allocations: 117.9 kB / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.006723, allocations: 192 / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.006734, allocations: 8.375 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.006739, allocations: 8.125 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.006792, allocations: 41.05 kB / 0.8181 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.007365, allocations: 0.5868 MB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.00755, allocations: 92.41 kB / 0.8187 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.007587, allocations: 31.67 kB / 0.8188 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.007596, allocations: 5.375 kB / 0.8188 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.007749, allocations: 138.5 kB / 0.8189 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.924e-06/0.007751, allocations: 0.6562 kB / 0.8189 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0002758/0.008027, allocations: 199.8 kB / 0.8191 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.008064, allocations: 64.48 kB / 0.8192 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.00822, allocations: 272.2 kB / 0.8194 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.008257, allocations: 41.69 kB / 0.8195 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.008362, allocations: 208.3 kB / 0.8197 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.008399, allocations: 59.52 kB / 0.8197 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.008513, allocations: 107.5 kB / 0.8198 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.008658, allocations: 0.5086 MB / 0.8203 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.008829, allocations: 211 kB / 0.8205 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.00904, allocations: 345.9 kB / 0.8208 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.009298, allocations: 357.6 kB / 0.8212 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.0093, allocations: 0 / 0.8212 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005037/0.009804, allocations: 0.6213 MB / 0.8218 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.009859, allocations: 134.8 kB / 0.8219 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.009865, allocations: 4.531 kB / 0.8219 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.009875, allocations: 4 kB / 0.8219 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.009931, allocations: 28.48 kB / 0.8219 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.009936, allocations: 4.562 kB / 0.822 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.01017, allocations: 90.23 kB / 0.822 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.0102, allocations: 23.98 kB / 0.8221 GB, free: 6.711 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 9.952e-05/0.0103, allocations: 193 kB / 0.8222 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.01032, allocations: 32.52 kB / 0.8223 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.01035, allocations: 25.98 kB / 0.8223 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.01035, allocations: 4 kB / 0.8223 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01035, allocations: 0 / 0.8223 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01036, allocations: 0 / 0.8223 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.01102, allocations: 445.8 kB / 0.8227 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01102, allocations: 0 / 0.8227 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.01107, allocations: 12 kB / 0.8227 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01107, allocations: 7.984 kB / 0.8227 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.01108, allocations: 4 kB / 0.8228 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01108, allocations: 0 / 0.8228 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01108, allocations: 1.469 kB / 0.8228 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.01131, allocations: 353.7 kB / 0.8231 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.01133, allocations: 31.73 kB / 0.8231 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.01134, allocations: 3.984 kB / 0.8231 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.01139, allocations: 9 kB / 0.8231 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.01142, allocations: 15.97 kB / 0.8232 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.01143, allocations: 4 kB / 0.8232 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.902e-05/0.0115, allocations: 194.2 kB / 0.8233 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0115, allocations: 0 / 0.8233 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002283/0.01173, allocations: 83.89 kB / 0.8234 GB, free: 5.27 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.0001052/0.01184, allocations: 121.4 kB / 0.8235 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.01219, allocations: 0.5474 MB / 0.8241 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01219, allocations: 0.5938 kB / 0.8241 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.417e-05/0.01225, allocations: 64.44 kB / 0.8241 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.01254, allocations: 81.64 kB / 0.8242 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.01294, allocations: 395.8 kB / 0.8246 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.01298, allocations: 79.11 kB / 0.8247 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.01303, allocations: 25.94 kB / 0.8247 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.01323, allocations: 166.1 kB / 0.8248 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01323, allocations: 1.438 kB / 0.8248 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of Templates: time 0.006898/0.02013, allocations: 5.725 MB / 0.8304 GB, free: 14.13 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.273123906925321]