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.001032/0.001032, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001031/0.001031, allocations: 177 kB / 23.36 MB, free: 1.133 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.9704/0.9704, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.384/2.384, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.704e-06/1.704e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.536e-05, allocations: 5.688 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.001938/0.001964, allocations: 1.16 MB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.003548, allocations: 1.54 MB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.399e-05/0.003642, allocations: 0 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.154e-05/0.003694, allocations: 23.67 kB / 0.8413 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.003869, allocations: 71.45 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.004599, allocations: 451 kB / 0.8418 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.00501, allocations: 0.534 MB / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.005144, allocations: 74.66 kB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.005387, allocations: 291.5 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.005576, allocations: 143.6 kB / 0.8428 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.005633, allocations: 52 kB / 0.8428 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.005718, allocations: 67.92 kB / 0.8429 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.005761, allocations: 47.83 kB / 0.8429 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.005883, allocations: 155.7 kB / 0.8431 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.00619, allocations: 378.8 kB / 0.8434 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006192, allocations: 0 / 0.8434 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.305e-06/0.006194, allocations: 8 kB / 0.8434 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.006198, allocations: 0 / 0.8434 GB, free: 9.23 MB / 0.8073 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.0005916/0.006789, allocations: 0.5764 MB / 0.844 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.006825, allocations: 12.62 kB / 0.844 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.657e-05/0.006892, allocations: 44.89 kB / 0.8441 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.007097, allocations: 192.8 kB / 0.8442 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.00712, allocations: 20.36 kB / 0.8443 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.007165, allocations: 36.38 kB / 0.8443 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.00729, allocations: 112.3 kB / 0.8444 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.007299, allocations: 192 / 0.8444 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.007311, allocations: 12.38 kB / 0.8444 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.00732, allocations: 8.125 kB / 0.8444 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.007371, allocations: 36.3 kB / 0.8445 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.00816, allocations: 375.6 kB / 0.8448 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.008324, allocations: 70.53 kB / 0.8449 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.008356, allocations: 26.72 kB / 0.8449 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.008366, allocations: 8 kB / 0.8449 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.00849, allocations: 140.2 kB / 0.845 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.008491, allocations: 0 / 0.845 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0001968/0.008688, allocations: 151.6 kB / 0.8452 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.008722, allocations: 59.34 kB / 0.8453 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.00885, allocations: 221 kB / 0.8455 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.008883, allocations: 37.7 kB / 0.8455 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.008951, allocations: 140.5 kB / 0.8456 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.008984, allocations: 67.45 kB / 0.8457 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.009082, allocations: 85.84 kB / 0.8458 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.009168, allocations: 350.7 kB / 0.8461 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.009304, allocations: 195 kB / 0.8463 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.009465, allocations: 285.5 kB / 0.8466 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.009665, allocations: 328.8 kB / 0.8469 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.009668, allocations: 0 / 0.8469 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003675/0.01004, allocations: 0.5205 MB / 0.8474 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.895e-05/0.01009, allocations: 134.8 kB / 0.8475 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.0101, allocations: 4 kB / 0.8475 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01011, allocations: 4 kB / 0.8475 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.01017, allocations: 24.22 kB / 0.8476 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01018, allocations: 11.98 kB / 0.8476 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.0104, allocations: 79.83 kB / 0.8476 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.01043, allocations: 23.97 kB / 0.8477 GB, free: 4.508 MB / 0.8073 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,tOff.booPul.y,$PRE.tOff.booPul.y,tOn.booPul.y,$PRE.tOn.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.112e-05/0.01052, allocations: 142.8 kB / 0.8478 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.01054, allocations: 31.84 kB / 0.8478 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.01057, allocations: 26.28 kB / 0.8479 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01057, allocations: 0 / 0.8479 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.01057, allocations: 3.984 kB / 0.8479 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01058, allocations: 0 / 0.8479 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.01082, allocations: 316.5 kB / 0.8482 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01082, allocations: 4 kB / 0.8482 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.01087, allocations: 19.92 kB / 0.8482 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01087, allocations: 0 / 0.8482 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.01088, allocations: 4 kB / 0.8482 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01089, allocations: 11.92 kB / 0.8482 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01089, allocations: 4 kB / 0.8482 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.01107, allocations: 243.8 kB / 0.8484 GB, free: 3.672 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.01109, allocations: 31.83 kB / 0.8485 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.0111, allocations: 3.984 kB / 0.8485 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.442e-05/0.01115, allocations: 11.98 kB / 0.8485 GB, free: 3.625 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.01118, allocations: 19.91 kB / 0.8485 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.01118, allocations: 4 kB / 0.8485 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.01123, allocations: 70.78 kB / 0.8486 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01123, allocations: 0 / 0.8486 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001987/0.01143, allocations: 87.83 kB / 0.8487 GB, free: 3.445 MB / 0.8073 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,u.booPul.y,tOn.booPul.y,tOff.booPul.y,tunSta.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.0001067/0.01153, allocations: 96.44 kB / 0.8487 GB, free: 3.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.01188, allocations: 0.5344 MB / 0.8493 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.01189, allocations: 0 / 0.8493 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.865e-05/0.01193, allocations: 52.77 kB / 0.8493 GB, free: 2.676 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.01217, allocations: 92.67 kB / 0.8494 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.01258, allocations: 389.3 kB / 0.8498 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.976e-05/0.01263, allocations: 88.25 kB / 0.8499 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.096e-05/0.01268, allocations: 25.95 kB / 0.8499 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.01286, allocations: 135.3 kB / 0.85 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.01286, allocations: 0 / 0.85 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of Templates: time 0.006825/0.01968, allocations: 5.685 MB / 0.8556 GB, free: 12.41 MB / 0.823 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.344579043332487]