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.00132/0.00132, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001236/0.001236, allocations: 161 kB / 24.16 MB, free: 332 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.027/1.027, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.09/2.09, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.324e-06/2.324e-06, allocations: 3.938 kB / 0.7601 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.484e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002064/0.002089, allocations: 1.209 MB / 0.7613 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.003902, allocations: 1.546 MB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.004012, allocations: 4 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.886e-05/0.004061, allocations: 19.69 kB / 0.7628 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.004229, allocations: 66.7 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.00504, allocations: 449.2 kB / 0.7633 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000479/0.005519, allocations: 0.5341 MB / 0.7638 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.005661, allocations: 80.19 kB / 0.7639 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.005951, allocations: 287.6 kB / 0.7642 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.00615, allocations: 147.6 kB / 0.7643 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.006204, allocations: 52 kB / 0.7643 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.006316, allocations: 69.23 kB / 0.7644 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.006352, allocations: 51.77 kB / 0.7645 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.006468, allocations: 151.7 kB / 0.7646 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.006821, allocations: 383.9 kB / 0.765 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.006824, allocations: 0 / 0.765 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.006825, allocations: 3.938 kB / 0.765 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.00683, allocations: 1.031 kB / 0.765 GB, free: 1.539 MB / 0.7136 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.0006154/0.007445, allocations: 0.5802 MB / 0.7655 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.007481, allocations: 8.719 kB / 0.7655 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.007542, allocations: 44.89 kB / 0.7656 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.007782, allocations: 194.6 kB / 0.7658 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.007808, allocations: 24.38 kB / 0.7658 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.007849, allocations: 28.38 kB / 0.7658 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.007984, allocations: 112.3 kB / 0.7659 GB, free: 492 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.007995, allocations: 1.031 kB / 0.7659 GB, free: 492 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.008006, allocations: 8.375 kB / 0.7659 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.008014, allocations: 8.125 kB / 0.766 GB, free: 476 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.224e-05/0.008067, allocations: 33.5 kB / 0.766 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.0086, allocations: 377.2 kB / 0.7663 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.008787, allocations: 79.27 kB / 0.7664 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.00882, allocations: 20.86 kB / 0.7664 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.00883, allocations: 4.609 kB / 0.7664 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.008981, allocations: 149.3 kB / 0.7666 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 2.365e-06/0.008983, allocations: 3.438 kB / 0.7666 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0002026/0.009186, allocations: 143.8 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.009218, allocations: 59.41 kB / 0.7668 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.009354, allocations: 221 kB / 0.767 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.009389, allocations: 37.7 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.009465, allocations: 144.5 kB / 0.7672 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.009499, allocations: 63.45 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.009611, allocations: 85.86 kB / 0.7673 GB, free: 15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.009707, allocations: 338.8 kB / 0.7676 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.009862, allocations: 201.7 kB / 0.7678 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.01006, allocations: 289.9 kB / 0.7681 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.0103, allocations: 332.2 kB / 0.7684 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.0103, allocations: 0 / 0.7684 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004474/0.01075, allocations: 0.5214 MB / 0.7689 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.01081, allocations: 134.8 kB / 0.7691 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01082, allocations: 4 kB / 0.7691 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.01084, allocations: 4 kB / 0.7691 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/0.01091, allocations: 27.92 kB / 0.7691 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01091, allocations: 6.75 kB / 0.7691 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.01114, allocations: 87.77 kB / 0.7692 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.01118, allocations: 23.98 kB / 0.7692 GB, free: 12.83 MB / 0.7292 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 0.000103/0.01128, allocations: 142.8 kB / 0.7693 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.0113, allocations: 25.33 kB / 0.7694 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.01134, allocations: 22.27 kB / 0.7694 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01135, allocations: 4 kB / 0.7694 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01135, allocations: 3.938 kB / 0.7694 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01135, allocations: 1.438 kB / 0.7694 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.01163, allocations: 314.6 kB / 0.7697 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01163, allocations: 0 / 0.7697 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.01169, allocations: 20.47 kB / 0.7697 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.0117, allocations: 0 / 0.7697 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01171, allocations: 12.55 kB / 0.7697 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.01171, allocations: 4.688 kB / 0.7697 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01171, allocations: 0 / 0.7697 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.01191, allocations: 247 kB / 0.77 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.01194, allocations: 23.89 kB / 0.77 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.01196, allocations: 11.97 kB / 0.77 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.56e-05/0.012, allocations: 9 kB / 0.77 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.01203, allocations: 23.84 kB / 0.77 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.01204, allocations: 8 kB / 0.77 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.0121, allocations: 71.38 kB / 0.7701 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0121, allocations: 0.7188 kB / 0.7701 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000234/0.01233, allocations: 83.88 kB / 0.7702 GB, free: 11.78 MB / 0.7292 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.0001311/0.01247, allocations: 105.9 kB / 0.7703 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004714/0.01294, allocations: 0.5255 MB / 0.7708 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.01294, allocations: 5.031 kB / 0.7708 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.401e-05/0.01301, allocations: 60.75 kB / 0.7709 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.01328, allocations: 71.42 kB / 0.7709 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.01376, allocations: 391.3 kB / 0.7713 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.611e-05/0.01381, allocations: 80.27 kB / 0.7714 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.616e-05/0.01387, allocations: 25.58 kB / 0.7714 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.01408, allocations: 131.3 kB / 0.7715 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/0.01408, allocations: 0 / 0.7715 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of Templates: time 0.00791/0.02199, allocations: 5.704 MB / 0.7771 GB, free: 4.883 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.423563805874437]