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.001259/0.001259, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001491/0.001491, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.938/2.938, allocations: 0.49 GB / 0.7923 GB, free: 1.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.89 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002539/1.033, allocations: 1.413 MB / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001707/1.035, allocations: 1.532 MB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/1.035, allocations: 5.875 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/1.035, allocations: 34.12 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/1.036, allocations: 45.11 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/1.037, allocations: 348.3 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005347/1.037, allocations: 462.1 kB / 1.326 GB, free: 22.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/1.037, allocations: 141.9 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/1.037, allocations: 169.3 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/1.038, allocations: 169 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.325e-05/1.038, allocations: 50.19 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/1.038, allocations: 79.53 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/1.038, allocations: 68.78 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/1.038, allocations: 189.9 kB / 1.327 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006759/1.039, allocations: 0.5714 MB / 1.327 GB, free: 21.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.039, allocations: 5.031 kB / 1.327 GB, free: 21.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.954e-06/1.039, allocations: 0 / 1.327 GB, free: 21.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.039, allocations: 3.938 kB / 1.327 GB, free: 21.8 MB / 1.061 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.001206/1.04, allocations: 0.6554 MB / 1.328 GB, free: 21.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/1.04, allocations: 13.27 kB / 1.328 GB, free: 21.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/1.04, allocations: 43.52 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/1.041, allocations: 309.6 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/1.041, allocations: 27.7 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/1.041, allocations: 33.06 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/1.042, allocations: 236.2 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/1.042, allocations: 0.9062 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/1.042, allocations: 14.03 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/1.042, allocations: 6.969 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/1.042, allocations: 159.4 kB / 1.329 GB, free: 20.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/1.044, allocations: 0.8873 MB / 1.329 GB, free: 20.17 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/1.044, allocations: 143.3 kB / 1.33 GB, free: 20.1 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/1.044, allocations: 65.5 kB / 1.33 GB, free: 20.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/1.044, allocations: 3.297 kB / 1.33 GB, free: 20.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/1.045, allocations: 147.5 kB / 1.33 GB, free: 19.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 2.564e-06/1.045, allocations: 0 / 1.33 GB, free: 19.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0007534/1.046, allocations: 251.9 kB / 1.33 GB, free: 19.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.046, allocations: 55.2 kB / 1.33 GB, free: 19.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/1.046, allocations: 257 kB / 1.33 GB, free: 19.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/1.046, allocations: 35.39 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/1.046, allocations: 178 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/1.046, allocations: 70.05 kB / 1.331 GB, free: 19.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/1.046, allocations: 75.55 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/1.046, allocations: 336.4 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/1.047, allocations: 113.6 kB / 1.331 GB, free: 19.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/1.047, allocations: 164.8 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/1.047, allocations: 276 kB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.047, allocations: 0.9688 kB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006714/1.048, allocations: 423.3 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/1.048, allocations: 73.02 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.048, allocations: 5.984 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.048, allocations: 3.062 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/1.048, allocations: 30.75 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.048, allocations: 6.859 kB / 1.332 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/1.049, allocations: 80.78 kB / 1.332 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/1.049, allocations: 24.2 kB / 1.332 GB, free: 18.37 MB / 1.061 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.0001366/1.049, allocations: 155 kB / 1.332 GB, free: 18.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/1.049, allocations: 26.95 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/1.049, allocations: 205.7 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/1.049, allocations: 6.594 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.049, allocations: 0 / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.049, allocations: 2.797 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006946/1.05, allocations: 0.6241 MB / 1.333 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.05, allocations: 1.656 kB / 1.333 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/1.05, allocations: 25.25 kB / 1.333 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.05, allocations: 2.156 kB / 1.333 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/1.05, allocations: 8.391 kB / 1.333 GB, free: 17.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.05, allocations: 2.906 kB / 1.333 GB, free: 17.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.05, allocations: 1.156 kB / 1.333 GB, free: 17.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/1.05, allocations: 313.9 kB / 1.333 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/1.05, allocations: 113.5 kB / 1.334 GB, free: 17.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/1.051, allocations: 13.58 kB / 1.334 GB, free: 17.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/1.051, allocations: 6.406 kB / 1.334 GB, free: 17.28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/1.051, allocations: 30.31 kB / 1.334 GB, free: 17.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/1.051, allocations: 11.27 kB / 1.334 GB, free: 17.26 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001712/1.051, allocations: 182.6 kB / 1.334 GB, free: 17.15 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.051, allocations: 0 / 1.334 GB, free: 17.15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003698/1.051, allocations: 67.78 kB / 1.334 GB, free: 17.14 MB / 1.061 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.0001651/1.051, allocations: 123.7 kB / 1.334 GB, free: 17.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005659/1.052, allocations: 346.5 kB / 1.334 GB, free: 16.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.052, allocations: 0 / 1.334 GB, free: 16.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/1.052, allocations: 87.25 kB / 1.334 GB, free: 16.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/1.053, allocations: 59.56 kB / 1.334 GB, free: 16.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008311/1.054, allocations: 490 kB / 1.335 GB, free: 16.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/1.054, allocations: 0.7619 MB / 1.336 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/1.054, allocations: 24.95 kB / 1.336 GB, free: 15.73 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.054, allocations: 0.5625 kB / 1.336 GB, free: 15.73 MB / 1.061 GB Notification: Performance of Templates: time 0.007523/1.061, allocations: 3.691 MB / 1.339 GB, free: 15.33 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.651788435003255]