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.0009645/0.0009645, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009027/0.0009027, allocations: 169 kB / 23.02 MB, free: 1.547 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.9239/0.9239, allocations: 177.1 MB / 203.4 MB, free: 5.598 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.044/2.044, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.415e-06/2.415e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.601e-05, allocations: 6.641 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.001835/0.001861, allocations: 1.184 MB / 0.8794 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.003597, allocations: 1.533 MB / 0.8809 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.003692, allocations: 0 / 0.8809 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.854e-05/0.003741, allocations: 23.67 kB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.003887, allocations: 67.44 kB / 0.881 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.004677, allocations: 453 kB / 0.8814 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.005115, allocations: 0.5313 MB / 0.8819 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.005257, allocations: 64.05 kB / 0.882 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.005508, allocations: 299.5 kB / 0.8822 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.005688, allocations: 140.6 kB / 0.8824 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.005745, allocations: 56 kB / 0.8824 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.944e-05/0.005835, allocations: 59.98 kB / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.005875, allocations: 56.83 kB / 0.8825 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.005989, allocations: 155.6 kB / 0.8827 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.006317, allocations: 374.9 kB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.00632, allocations: 0.6562 kB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.71e-07/0.006321, allocations: 0.8125 kB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.006325, allocations: 3.938 kB / 0.8831 GB, free: 1.289 MB / 0.8386 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.0009809/0.007306, allocations: 0.7365 MB / 0.8838 GB, free: 500 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.007343, allocations: 9.281 kB / 0.8838 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.007435, allocations: 44.8 kB / 0.8838 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.007689, allocations: 247.6 kB / 0.8841 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.007713, allocations: 20.38 kB / 0.8841 GB, free: 156 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.007761, allocations: 32.95 kB / 0.8841 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.007938, allocations: 125 kB / 0.8842 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.007948, allocations: 192 / 0.8842 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.007963, allocations: 4.375 kB / 0.8842 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.007972, allocations: 8.125 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.631e-05/0.008058, allocations: 54.55 kB / 0.8843 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.00872, allocations: 0.6206 MB / 0.8849 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.008943, allocations: 92.36 kB / 0.885 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.008999, allocations: 31.67 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.009008, allocations: 7.5 kB / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.009162, allocations: 149.6 kB / 0.8852 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.009164, allocations: 0 / 0.8852 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.0003252/0.009489, allocations: 223 kB / 0.8854 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.009525, allocations: 55.41 kB / 0.8854 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.00969, allocations: 284.3 kB / 0.8857 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.009725, allocations: 37.7 kB / 0.8857 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.009828, allocations: 199.3 kB / 0.8859 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.009863, allocations: 63.53 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.009981, allocations: 99.55 kB / 0.8861 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.0101, allocations: 0.5117 MB / 0.8866 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.01031, allocations: 231 kB / 0.8868 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.01056, allocations: 365.3 kB / 0.8872 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.01084, allocations: 382.1 kB / 0.8875 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01084, allocations: 0 / 0.8875 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005913/0.01144, allocations: 0.6549 MB / 0.8882 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.461e-05/0.0115, allocations: 134.8 kB / 0.8883 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.01151, allocations: 4.281 kB / 0.8883 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.01153, allocations: 8 kB / 0.8883 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.01159, allocations: 23.94 kB / 0.8883 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.0116, allocations: 11.97 kB / 0.8883 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.01184, allocations: 79.83 kB / 0.8884 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.01188, allocations: 35.91 kB / 0.8884 GB, free: 11.3 MB / 0.8542 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.0001126/0.01199, allocations: 188.5 kB / 0.8886 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.01202, allocations: 35.84 kB / 0.8887 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.01205, allocations: 22.28 kB / 0.8887 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01205, allocations: 4 kB / 0.8887 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01206, allocations: 0 / 0.8887 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01206, allocations: 3.984 kB / 0.8887 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.01241, allocations: 490.8 kB / 0.8892 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01241, allocations: 0 / 0.8892 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.01246, allocations: 19.98 kB / 0.8892 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01246, allocations: 96 / 0.8892 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.01248, allocations: 11.98 kB / 0.8892 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01248, allocations: 4 kB / 0.8892 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01248, allocations: 0 / 0.8892 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.01275, allocations: 366.7 kB / 0.8895 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.01277, allocations: 19.8 kB / 0.8896 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.0128, allocations: 11.98 kB / 0.8896 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.214e-05/0.01284, allocations: 4 kB / 0.8896 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.01288, allocations: 23.91 kB / 0.8896 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.01289, allocations: 4 kB / 0.8896 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.657e-05/0.01299, allocations: 201.1 kB / 0.8898 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01299, allocations: 32 / 0.8898 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002404/0.01323, allocations: 87.88 kB / 0.8899 GB, free: 9.766 MB / 0.8542 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.0001113/0.01334, allocations: 116.3 kB / 0.89 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006933/0.01404, allocations: 0.5779 MB / 0.8906 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01404, allocations: 0 / 0.8906 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.01411, allocations: 70.34 kB / 0.8906 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.0144, allocations: 72.64 kB / 0.8907 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.01487, allocations: 395.2 kB / 0.8911 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.553e-05/0.01492, allocations: 88.31 kB / 0.8912 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.724e-05/0.01498, allocations: 21.95 kB / 0.8912 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.01501, allocations: 20.5 kB / 0.8912 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.01501, allocations: 0 / 0.8912 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of Templates: time 0.006859/0.02187, allocations: 5.707 MB / 0.8968 GB, free: 2.746 MB / 0.8542 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.303894537966698]