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.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.001992/0.001992, allocations: 80.3 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002508/0.002508, allocations: 161 kB / 22.45 MB, free: 5.375 MB / 14.72 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.579/1.579, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 3.006/3.006, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.652e-05, allocations: 5.938 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002886/0.002923, allocations: 1.294 MB / 1.001 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002424/0.005347, allocations: 1.513 MB / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.005563, allocations: 11.94 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.00577, allocations: 35.59 kB / 1.003 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.005919, allocations: 59.45 kB / 1.003 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.006931, allocations: 346.7 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.007479, allocations: 480.1 kB / 1.004 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.007756, allocations: 129.7 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.008081, allocations: 263.5 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.008306, allocations: 135.6 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.493e-05/0.008391, allocations: 52 kB / 1.004 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.008531, allocations: 71.97 kB / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.008605, allocations: 71.75 kB / 1.004 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.008765, allocations: 135.7 kB / 1.005 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007753/0.00954, allocations: 0.6348 MB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.009545, allocations: 0 / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/0.009547, allocations: 0 / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.009557, allocations: 3.984 kB / 1.005 GB, free: 2.055 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001084/0.01064, allocations: 0.5828 MB / 1.006 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.01069, allocations: 12.03 kB / 1.006 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.01088, allocations: 44.7 kB / 1.006 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.01136, allocations: 250.8 kB / 1.006 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.0114, allocations: 25.03 kB / 1.006 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.01147, allocations: 32.38 kB / 1.006 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.01192, allocations: 242.7 kB / 1.006 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01194, allocations: 192 / 1.006 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.01196, allocations: 12.38 kB / 1.006 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.01197, allocations: 4.375 kB / 1.006 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.0123, allocations: 186.5 kB / 1.007 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.01364, allocations: 0.7034 MB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.01413, allocations: 171 kB / 1.007 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.01425, allocations: 64.84 kB / 1.008 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.01428, allocations: 11.92 kB / 1.008 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.01454, allocations: 143.3 kB / 1.008 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.01454, allocations: 0 / 1.008 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.0005353/0.01508, allocations: 255.9 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.01513, allocations: 55.41 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.01537, allocations: 227.1 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.01542, allocations: 33.7 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.01558, allocations: 184.5 kB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.01565, allocations: 79.34 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.0158, allocations: 73.69 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.01596, allocations: 330.8 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.01626, allocations: 187.3 kB / 1.009 GB, free: 14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.01659, allocations: 233.6 kB / 1.009 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.01701, allocations: 268.4 kB / 1.009 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.01702, allocations: 3.938 kB / 1.009 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008211/0.01784, allocations: 496.1 kB / 1.01 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-05/0.01792, allocations: 75.55 kB / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.01793, allocations: 3.984 kB / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.01795, allocations: 4 kB / 1.01 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.0181, allocations: 35.92 kB / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.01811, allocations: 4 kB / 1.01 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.01854, allocations: 67.77 kB / 1.01 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.01858, allocations: 15.98 kB / 1.01 GB, free: 12.71 MB / 0.9669 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 (31): * Single equations (assignments): 29 * 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.0002008/0.01878, allocations: 169.9 kB / 1.01 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.01882, allocations: 23.86 kB / 1.01 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004543/0.01928, allocations: 215.6 kB / 1.011 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.01928, allocations: 4 kB / 1.011 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01929, allocations: 0 / 1.011 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.01929, allocations: 3.984 kB / 1.011 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007727/0.02007, allocations: 0.5177 MB / 1.011 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.02007, allocations: 8.078 kB / 1.011 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.02017, allocations: 23.94 kB / 1.011 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.02018, allocations: 4 kB / 1.011 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.02021, allocations: 11.98 kB / 1.011 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.02021, allocations: 0 / 1.011 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.02021, allocations: 0 / 1.011 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.02065, allocations: 324.5 kB / 1.011 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.0207, allocations: 23.86 kB / 1.011 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.02073, allocations: 4 kB / 1.011 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.02088, allocations: 15.98 kB / 1.011 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.02098, allocations: 31.89 kB / 1.011 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.02101, allocations: 12 kB / 1.012 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001684/0.02117, allocations: 156.6 kB / 1.012 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02117, allocations: 0 / 1.012 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003928/0.02157, allocations: 79.77 kB / 1.012 GB, free: 11.02 MB / 0.9669 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 (23): * Single equations (assignments): 21 * 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.0002259/0.02179, allocations: 121.6 kB / 1.012 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006451/0.02244, allocations: 417.9 kB / 1.012 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02244, allocations: 4.312 kB / 1.012 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.0226, allocations: 83.8 kB / 1.012 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.02312, allocations: 55.89 kB / 1.012 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009119/0.02403, allocations: 466 kB / 1.013 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.02422, allocations: 151.8 kB / 1.013 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.02433, allocations: 30.27 kB / 1.013 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.0244, allocations: 24.5 kB / 1.013 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/0.0244, allocations: 0 / 1.013 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of Templates: time 0.009508/0.03391, allocations: 4.031 MB / 1.017 GB, free: 5.695 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.61168947070837]