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.001054/0.001054, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.0009418/0.0009418, allocations: 161 kB / 23.82 MB, free: 0.7617 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.9741/0.9741, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.866/1.866, allocations: 377.9 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 178] 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.783e-06/1.783e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.926e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.001815/0.001834, allocations: 1.197 MB / 0.8127 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.003416, allocations: 1.528 MB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.00352, allocations: 0 / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.104e-05/0.003571, allocations: 31.61 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.003732, allocations: 65 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.004555, allocations: 445.6 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006975/0.005253, allocations: 0.5224 MB / 0.8153 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.005409, allocations: 73.19 kB / 0.8153 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.005663, allocations: 291.5 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.005851, allocations: 159.4 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.005907, allocations: 52.94 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.633e-05/0.006003, allocations: 67.98 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.006045, allocations: 51.77 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.006163, allocations: 148.6 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.006521, allocations: 374.9 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006524, allocations: 1.031 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.006524, allocations: 0 / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.00653, allocations: 4 kB / 0.8164 GB, free: 12.73 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.0007048/0.007235, allocations: 0.7257 MB / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.007273, allocations: 8.031 kB / 0.8171 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/0.007364, allocations: 56.73 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.007628, allocations: 245.5 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.007658, allocations: 20.38 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.007713, allocations: 32.38 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.007889, allocations: 124.2 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.0079, allocations: 192 / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.007916, allocations: 9.969 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.007925, allocations: 8.125 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.008006, allocations: 48.48 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.008733, allocations: 0.621 MB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.008953, allocations: 107.5 kB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.009003, allocations: 36.38 kB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-06/0.009011, allocations: 4.969 kB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.009161, allocations: 145.5 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.009163, allocations: 0 / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0003062/0.009469, allocations: 216 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.009502, allocations: 55.41 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.009673, allocations: 281.1 kB / 0.8191 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.00971, allocations: 41.7 kB / 0.8191 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.579e-05/0.009805, allocations: 199.2 kB / 0.8193 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.00984, allocations: 60.81 kB / 0.8194 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.00995, allocations: 107.5 kB / 0.8195 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.01007, allocations: 0.5078 MB / 0.82 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.01027, allocations: 235.8 kB / 0.8202 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.01053, allocations: 361 kB / 0.8205 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.01081, allocations: 374.4 kB / 0.8209 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01081, allocations: 0 / 0.8209 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006007/0.01141, allocations: 0.6633 MB / 0.8215 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/0.01147, allocations: 134.8 kB / 0.8217 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01148, allocations: 0 / 0.8217 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.0115, allocations: 4 kB / 0.8217 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.01156, allocations: 28.42 kB / 0.8217 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01157, allocations: 4 kB / 0.8217 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.01206, allocations: 90.05 kB / 0.8218 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.0121, allocations: 36.41 kB / 0.8218 GB, free: 6.738 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.0001038/0.0122, allocations: 186.7 kB / 0.822 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.01223, allocations: 31.86 kB / 0.822 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.01226, allocations: 27.23 kB / 0.8221 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.01226, allocations: 8.078 kB / 0.8221 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01226, allocations: 1.344 kB / 0.8221 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01227, allocations: 0 / 0.8221 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.01261, allocations: 487 kB / 0.8225 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01261, allocations: 0 / 0.8225 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.01266, allocations: 21.09 kB / 0.8225 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01267, allocations: 0 / 0.8225 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.01268, allocations: 7.984 kB / 0.8226 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01268, allocations: 0.6562 kB / 0.8226 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01268, allocations: 0 / 0.8226 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.01296, allocations: 376.6 kB / 0.8229 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.01298, allocations: 23.8 kB / 0.8229 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.013, allocations: 8 kB / 0.8229 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.267e-05/0.01304, allocations: 3.984 kB / 0.823 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.01308, allocations: 23.91 kB / 0.823 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.01309, allocations: 12 kB / 0.823 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.254e-05/0.01318, allocations: 196.1 kB / 0.8232 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01318, allocations: 0 / 0.8232 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002285/0.01341, allocations: 79.89 kB / 0.8232 GB, free: 5.223 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.0001136/0.01352, allocations: 119.2 kB / 0.8234 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.01396, allocations: 0.5672 MB / 0.8239 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01396, allocations: 5.094 kB / 0.8239 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.01404, allocations: 67.53 kB / 0.824 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.01434, allocations: 69.73 kB / 0.8241 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.01483, allocations: 401.7 kB / 0.8244 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.01488, allocations: 80.33 kB / 0.8245 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.925e-05/0.01494, allocations: 28.25 kB / 0.8245 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.01497, allocations: 20.5 kB / 0.8246 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of SimCode: time 1.162e-06/0.01498, allocations: 0 / 0.8246 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of Templates: time 0.007097/0.02207, allocations: 5.713 MB / 0.8301 GB, free: 14.22 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.234568536747247]