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.000956/0.000956, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009575/0.0009575, allocations: 173 kB / 23.49 MB, free: 1.059 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.9373/0.9373, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.034/2.034, allocations: 429.5 MB / 0.6736 GB, free: 4.02 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 1.864e-06/1.864e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.991e-05, allocations: 3.594 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.001606/0.001626, allocations: 1.195 MB / 0.8794 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.003052, allocations: 1.538 MB / 0.8809 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.003131, allocations: 4 kB / 0.8809 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.003172, allocations: 15.75 kB / 0.8809 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.003301, allocations: 68.56 kB / 0.881 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.003936, allocations: 449.6 kB / 0.8814 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.004292, allocations: 0.5275 MB / 0.8819 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.004427, allocations: 68.05 kB / 0.882 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.004642, allocations: 292.6 kB / 0.8822 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.004811, allocations: 151.6 kB / 0.8824 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.004862, allocations: 52 kB / 0.8824 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.249e-05/0.004944, allocations: 65.05 kB / 0.8825 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.004983, allocations: 55.75 kB / 0.8826 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.005098, allocations: 151.7 kB / 0.8827 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.005409, allocations: 384.3 kB / 0.8831 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005411, allocations: 0 / 0.8831 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.005411, allocations: 3.938 kB / 0.8831 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.005416, allocations: 1.531 kB / 0.8831 GB, free: 1.668 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.0006389/0.006055, allocations: 0.7321 MB / 0.8838 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.006087, allocations: 8.031 kB / 0.8838 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.295e-05/0.00617, allocations: 49.86 kB / 0.8838 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.006441, allocations: 247.8 kB / 0.8841 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.006466, allocations: 24.36 kB / 0.8841 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.006514, allocations: 32.97 kB / 0.8841 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.006673, allocations: 127.6 kB / 0.8843 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006684, allocations: 1 kB / 0.8843 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.006698, allocations: 8.375 kB / 0.8843 GB, free: 364 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.006707, allocations: 11.38 kB / 0.8843 GB, free: 356 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.006797, allocations: 49.14 kB / 0.8843 GB, free: 308 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.007453, allocations: 0.6162 MB / 0.8849 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.007675, allocations: 95.09 kB / 0.885 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.007732, allocations: 35.84 kB / 0.885 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.007739, allocations: 0.5938 kB / 0.885 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.007903, allocations: 154.8 kB / 0.8852 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.007905, allocations: 0 / 0.8852 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.0003189/0.008223, allocations: 218.1 kB / 0.8854 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.008254, allocations: 55.41 kB / 0.8855 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.008426, allocations: 284.3 kB / 0.8857 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.008462, allocations: 37.7 kB / 0.8858 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/0.008561, allocations: 195.3 kB / 0.8859 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.008597, allocations: 63.53 kB / 0.886 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.00871, allocations: 99.55 kB / 0.8861 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.008843, allocations: 0.5117 MB / 0.8866 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.009066, allocations: 239 kB / 0.8868 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.009338, allocations: 365.1 kB / 0.8872 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.009637, allocations: 366.8 kB / 0.8875 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.00964, allocations: 4 kB / 0.8875 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006323/0.01027, allocations: 0.6697 MB / 0.8882 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.01034, allocations: 134.8 kB / 0.8883 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01034, allocations: 0 / 0.8883 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.01036, allocations: 4 kB / 0.8883 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.01042, allocations: 23.98 kB / 0.8883 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.01042, allocations: 8.219 kB / 0.8884 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.01067, allocations: 91.75 kB / 0.8884 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.0107, allocations: 27.98 kB / 0.8885 GB, free: 11.67 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.0001095/0.01081, allocations: 188.4 kB / 0.8886 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.01084, allocations: 31.86 kB / 0.8887 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.01087, allocations: 26.27 kB / 0.8887 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01088, allocations: 4 kB / 0.8887 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01088, allocations: 0 / 0.8887 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01088, allocations: 0 / 0.8887 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.01123, allocations: 494.3 kB / 0.8892 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01124, allocations: 3.938 kB / 0.8892 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.01129, allocations: 16 kB / 0.8892 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01129, allocations: 0 / 0.8892 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.0113, allocations: 11.98 kB / 0.8892 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.0113, allocations: 0 / 0.8892 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.01131, allocations: 4 kB / 0.8892 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.01159, allocations: 371.2 kB / 0.8896 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.01161, allocations: 23.8 kB / 0.8896 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.01163, allocations: 4 kB / 0.8896 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.573e-05/0.01167, allocations: 7.984 kB / 0.8896 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.01171, allocations: 15.92 kB / 0.8896 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.01173, allocations: 15.98 kB / 0.8896 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.534e-05/0.01182, allocations: 193.1 kB / 0.8898 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01182, allocations: 0 / 0.8898 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002303/0.01205, allocations: 79.89 kB / 0.8899 GB, free: 10.14 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.0001101/0.01216, allocations: 120.4 kB / 0.89 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.01262, allocations: 0.5741 MB / 0.8906 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01262, allocations: 0 / 0.8906 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.062e-05/0.0127, allocations: 73.41 kB / 0.8906 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.01302, allocations: 73.02 kB / 0.8907 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.01351, allocations: 395.3 kB / 0.8911 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.888e-05/0.01356, allocations: 80.33 kB / 0.8912 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.405e-05/0.01362, allocations: 29.94 kB / 0.8912 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.01365, allocations: 20.5 kB / 0.8912 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.01365, allocations: 0 / 0.8912 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of Templates: time 0.006412/0.02006, allocations: 5.262 MB / 0.8963 GB, free: 3.562 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.412913070991635]