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.TimeConstantDelay.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.0007901/0.0007901, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.00129/0.00129, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8996/0.8996, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.785/1.785, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.094e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002005/0.002036, allocations: 1.291 MB / 0.9835 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.003848, allocations: 1.513 MB / 0.985 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.004072, allocations: 4 kB / 0.985 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.004235, allocations: 35.53 kB / 0.985 GB, free: 15.19 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.00434, allocations: 47.53 kB / 0.985 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006975/0.005037, allocations: 338 kB / 0.9854 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.00546, allocations: 476.1 kB / 0.9858 GB, free: 14.35 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.005686, allocations: 121.7 kB / 0.9859 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.005907, allocations: 259.5 kB / 0.9862 GB, free: 13.97 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.006077, allocations: 123.6 kB / 0.9863 GB, free: 13.85 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.006128, allocations: 52 kB / 0.9863 GB, free: 13.8 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.006234, allocations: 75.86 kB / 0.9864 GB, free: 13.73 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.006292, allocations: 75.73 kB / 0.9865 GB, free: 13.65 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.006398, allocations: 127.7 kB / 0.9866 GB, free: 13.53 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.00694, allocations: 0.6192 MB / 0.9872 GB, free: 12.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.006944, allocations: 0 / 0.9872 GB, free: 12.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.674e-06/0.006946, allocations: 4 kB / 0.9872 GB, free: 12.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.006952, allocations: 0 / 0.9872 GB, free: 12.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007972/0.007749, allocations: 0.5828 MB / 0.9878 GB, free: 12.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.007788, allocations: 8.031 kB / 0.9878 GB, free: 12.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.007938, allocations: 44.73 kB / 0.9878 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.008305, allocations: 246.8 kB / 0.9881 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.008333, allocations: 25.03 kB / 0.9881 GB, free: 11.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.008374, allocations: 36.38 kB / 0.9881 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.008669, allocations: 234.6 kB / 0.9884 GB, free: 11.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.00868, allocations: 192 / 0.9884 GB, free: 11.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.0087, allocations: 16.36 kB / 0.9884 GB, free: 11.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.008707, allocations: 4.375 kB / 0.9884 GB, free: 11.64 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.008902, allocations: 162.5 kB / 0.9885 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008948/0.009797, allocations: 0.6955 MB / 0.9892 GB, free: 10.75 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.01001, allocations: 142.6 kB / 0.9893 GB, free: 10.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.01017, allocations: 72.88 kB / 0.9894 GB, free: 10.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.01019, allocations: 3.938 kB / 0.9894 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.01036, allocations: 139.3 kB / 0.9896 GB, free: 10.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=22): time 2.595e-06/0.01037, allocations: 0 / 0.9896 GB, free: 10.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=22): time 0.0003733/0.01074, allocations: 243.5 kB / 0.9898 GB, free: 10.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.01078, allocations: 59.39 kB / 0.9898 GB, free: 10.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.01094, allocations: 223.8 kB / 0.9901 GB, free: 9.836 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.01097, allocations: 33.7 kB / 0.9901 GB, free: 9.797 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01107, allocations: 188.8 kB / 0.9903 GB, free: 9.609 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.01111, allocations: 59.48 kB / 0.9903 GB, free: 9.551 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.888e-05/0.0112, allocations: 77.67 kB / 0.9904 GB, free: 9.469 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.01128, allocations: 342.8 kB / 0.9907 GB, free: 9.125 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.01147, allocations: 175.6 kB / 0.9909 GB, free: 8.941 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.01166, allocations: 225.6 kB / 0.9911 GB, free: 8.691 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.01191, allocations: 273.6 kB / 0.9914 GB, free: 8.395 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01191, allocations: 0 / 0.9914 GB, free: 8.395 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004718/0.01238, allocations: 488.1 kB / 0.9918 GB, free: 7.887 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.01243, allocations: 67.39 kB / 0.9919 GB, free: 7.809 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01244, allocations: 4 kB / 0.9919 GB, free: 7.805 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.01246, allocations: 0 / 0.9919 GB, free: 7.805 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.01256, allocations: 39.92 kB / 0.9919 GB, free: 7.766 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01257, allocations: 0 / 0.9919 GB, free: 7.766 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.01278, allocations: 83.86 kB / 0.992 GB, free: 7.684 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.0128, allocations: 12 kB / 0.992 GB, free: 7.672 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ratioLT.booPul.y,$PRE.ratioLT.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,timConDel.edg.u,$PRE.timConDel.edg.u,timConDel.gre1.greHys.y,$PRE.timConDel.gre1.greHys.y,timConDel.triFai) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001232/0.01293, allocations: 166.2 kB / 0.9922 GB, free: 7.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.01295, allocations: 19.86 kB / 0.9922 GB, free: 7.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.01321, allocations: 209.2 kB / 0.9924 GB, free: 7.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.01322, allocations: 0 / 0.9924 GB, free: 7.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01322, allocations: 0 / 0.9924 GB, free: 7.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01323, allocations: 3.984 kB / 0.9924 GB, free: 7.266 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.01368, allocations: 0.5122 MB / 0.9929 GB, free: 6.707 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01368, allocations: 0 / 0.9929 GB, free: 6.707 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.01374, allocations: 35.86 kB / 0.9929 GB, free: 6.672 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01374, allocations: 0 / 0.9929 GB, free: 6.672 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.01376, allocations: 11.94 kB / 0.993 GB, free: 6.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.01376, allocations: 7.922 kB / 0.993 GB, free: 6.652 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01376, allocations: 4 kB / 0.993 GB, free: 6.648 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.01399, allocations: 305.8 kB / 0.9933 GB, free: 6.324 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.01401, allocations: 31.88 kB / 0.9933 GB, free: 6.293 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.01403, allocations: 8 kB / 0.9933 GB, free: 6.285 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.01411, allocations: 11.98 kB / 0.9933 GB, free: 6.273 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.01417, allocations: 27.89 kB / 0.9933 GB, free: 6.246 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.01418, allocations: 11.98 kB / 0.9933 GB, free: 6.234 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.309e-05/0.01427, allocations: 152.7 kB / 0.9935 GB, free: 6.086 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01427, allocations: 0 / 0.9935 GB, free: 6.086 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002525/0.01452, allocations: 79.78 kB / 0.9936 GB, free: 6.008 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,timConDel.triFai,timConDel.gre1.greHys.y,timConDel.edg.u,tOn.booPul.y,ratioLT.booPul.y) * Number of discrete states: 2 (timConDel.gre1.greHys.y,timConDel.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000157/0.01468, allocations: 125.6 kB / 0.9937 GB, free: 5.879 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.01508, allocations: 405.1 kB / 0.9941 GB, free: 5.449 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01508, allocations: 0 / 0.9941 GB, free: 5.449 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.01519, allocations: 85.8 kB / 0.9942 GB, free: 5.367 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.01551, allocations: 66.88 kB / 0.9942 GB, free: 5.305 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.01611, allocations: 479.5 kB / 0.9947 GB, free: 4.797 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.618e-05/0.01621, allocations: 150.8 kB / 0.9948 GB, free: 4.629 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.01626, allocations: 32.48 kB / 0.9949 GB, free: 4.598 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/0.01626, allocations: 0 / 0.9949 GB, free: 4.598 MB / 0.948 GB Notification: Performance of Templates: time 0.00429/0.02055, allocations: 3.66 MB / 0.9984 GB, free: 0.9727 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.995396831072867]