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.0009666/0.0009666, 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.0009762/0.0009762, allocations: 173.4 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 1.094/1.094, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.561/2.561, 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 2.184e-06/2.184e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.456e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002007/0.002031, allocations: 1.198 MB / 0.8398 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.003486, allocations: 1.555 MB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.739e-05/0.003574, allocations: 0 / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.562e-05/0.003619, allocations: 23.67 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.003757, allocations: 63.44 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006305/0.004387, allocations: 451 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.004767, allocations: 0.5302 MB / 0.8424 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.00489, allocations: 66.67 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.005117, allocations: 295.5 kB / 0.8427 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.005292, allocations: 143.6 kB / 0.8428 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.005346, allocations: 52 kB / 0.8429 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.005445, allocations: 67.98 kB / 0.843 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.00549, allocations: 59.75 kB / 0.843 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.005591, allocations: 139.8 kB / 0.8432 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.005896, allocations: 389.3 kB / 0.8435 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005898, allocations: 3.984 kB / 0.8435 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.262e-06/0.0059, allocations: 0 / 0.8435 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.005904, allocations: 0 / 0.8435 GB, free: 9.121 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.0005507/0.006454, allocations: 0.5764 MB / 0.8441 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.00649, allocations: 12.62 kB / 0.8441 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.006551, allocations: 40.89 kB / 0.8441 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.006766, allocations: 196.8 kB / 0.8443 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.006789, allocations: 20.38 kB / 0.8443 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.006831, allocations: 32.38 kB / 0.8444 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.006959, allocations: 124.3 kB / 0.8445 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006969, allocations: 192 / 0.8445 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.006981, allocations: 8.375 kB / 0.8445 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.006988, allocations: 4.125 kB / 0.8445 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.999e-05/0.007038, allocations: 44.28 kB / 0.8446 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.007536, allocations: 371.6 kB / 0.8449 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.007699, allocations: 78.52 kB / 0.845 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.00773, allocations: 24.84 kB / 0.845 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.007741, allocations: 7.984 kB / 0.845 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.007884, allocations: 136.2 kB / 0.8451 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.007885, allocations: 0 / 0.8451 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.000212/0.008097, allocations: 151.6 kB / 0.8453 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.008126, allocations: 63.33 kB / 0.8453 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.008246, allocations: 221 kB / 0.8456 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.008281, allocations: 41.7 kB / 0.8456 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.008516, allocations: 136.5 kB / 0.8457 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.00855, allocations: 67.45 kB / 0.8458 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.008652, allocations: 89.86 kB / 0.8459 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.008729, allocations: 342.8 kB / 0.8462 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.008871, allocations: 195 kB / 0.8464 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.00907, allocations: 285.4 kB / 0.8467 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.009282, allocations: 328.8 kB / 0.847 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.009285, allocations: 0 / 0.847 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003837/0.009668, allocations: 0.5184 MB / 0.8475 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.009728, allocations: 130.8 kB / 0.8476 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.009735, allocations: 8.281 kB / 0.8476 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.009749, allocations: 8 kB / 0.8476 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.00981, allocations: 31.92 kB / 0.8477 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.009817, allocations: 7.984 kB / 0.8477 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.01003, allocations: 83.81 kB / 0.8477 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.01007, allocations: 19.98 kB / 0.8478 GB, free: 4.383 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.029e-05/0.01016, allocations: 146.8 kB / 0.8479 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.01018, allocations: 23.92 kB / 0.8479 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.01021, allocations: 26.27 kB / 0.8479 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01021, allocations: 4 kB / 0.848 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.01021, allocations: 0 / 0.848 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01022, allocations: 0 / 0.848 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.01056, allocations: 322.5 kB / 0.8483 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01056, allocations: 0 / 0.8483 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.01061, allocations: 19.92 kB / 0.8483 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01062, allocations: 4 kB / 0.8483 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.01063, allocations: 8 kB / 0.8483 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01063, allocations: 3.938 kB / 0.8483 GB, free: 3.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01063, allocations: 4 kB / 0.8483 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.01081, allocations: 253 kB / 0.8485 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.01083, allocations: 23.8 kB / 0.8486 GB, free: 3.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.01085, allocations: 0 / 0.8486 GB, free: 3.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.638e-05/0.01089, allocations: 8 kB / 0.8486 GB, free: 3.508 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.01092, allocations: 19.91 kB / 0.8486 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.01093, allocations: 7.984 kB / 0.8486 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.01098, allocations: 70.78 kB / 0.8487 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01098, allocations: 4.031 kB / 0.8487 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002084/0.01119, allocations: 83.89 kB / 0.8487 GB, free: 3.324 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.0001087/0.0113, allocations: 100.3 kB / 0.8488 GB, free: 3.215 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.01164, allocations: 0.5261 MB / 0.8494 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.01165, allocations: 0 / 0.8494 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.247e-05/0.0117, allocations: 57.31 kB / 0.8494 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.01195, allocations: 88.03 kB / 0.8495 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.01238, allocations: 388.5 kB / 0.8499 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.47e-05/0.01242, allocations: 84.27 kB / 0.8499 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.038e-05/0.01247, allocations: 21.94 kB / 0.85 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.01267, allocations: 135.2 kB / 0.8501 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of SimCode: time 6.52e-07/0.01267, allocations: 0 / 0.8501 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of Templates: time 0.006808/0.01948, allocations: 5.693 MB / 0.8557 GB, free: 12.29 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 -s gbode -gbm=radauIIA3 -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.637895911000669]