Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 105.1 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.001611, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 64.03 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7928/0.7943, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2038/0.9981, allocations: 183.3 MB / 1.268 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007561/1.006, allocations: 4.87 MB / 1.272 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009303/1.007, allocations: 27.81 kB / 1.272 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/1.008, allocations: 449.3 kB / 1.273 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00354/1.012, allocations: 1.463 MB / 1.274 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/1.014, allocations: 0.7863 MB / 1.275 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002336/1.016, allocations: 1.851 MB / 1.277 GB, free: 12.94 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007816/1.017, allocations: 0.6056 MB / 1.277 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/1.018, allocations: 0.8929 MB / 1.278 GB, free: 11.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/1.019, allocations: 0.5424 MB / 1.279 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.953e-05/1.02, allocations: 60 kB / 1.279 GB, free: 10.83 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/1.022, allocations: 1.419 MB / 1.28 GB, free: 9.406 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002711/1.022, allocations: 263.2 kB / 1.28 GB, free: 9.148 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004124/1.023, allocations: 406.1 kB / 1.281 GB, free: 8.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/1.025, allocations: 1.426 MB / 1.282 GB, free: 7.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.025, allocations: 4 kB / 1.282 GB, free: 7.316 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/1.025, allocations: 0 / 1.282 GB, free: 7.316 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.929e-06/1.025, allocations: 0 / 1.282 GB, free: 7.316 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001586/1.026, allocations: 1.09 MB / 1.283 GB, free: 6.176 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.027, allocations: 16.02 kB / 1.283 GB, free: 6.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/1.028, allocations: 210.8 kB / 1.284 GB, free: 5.953 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/1.029, allocations: 0.6161 MB / 1.284 GB, free: 5.293 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/1.029, allocations: 37 kB / 1.284 GB, free: 5.258 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/1.029, allocations: 48 kB / 1.284 GB, free: 5.211 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008212/1.03, allocations: 0.4944 MB / 1.285 GB, free: 4.711 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/1.03, allocations: 0 / 1.285 GB, free: 4.711 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/1.03, allocations: 20 kB / 1.285 GB, free: 4.691 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/1.03, allocations: 17 kB / 1.285 GB, free: 4.676 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/1.03, allocations: 439.7 kB / 1.285 GB, free: 4.242 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/1.033, allocations: 2.006 MB / 1.287 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/1.034, allocations: 343.5 kB / 1.287 GB, free: 1.719 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/1.034, allocations: 210.7 kB / 1.288 GB, free: 1.512 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/1.034, allocations: 194.5 kB / 1.288 GB, free: 1.285 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.034, allocations: 34.84 kB / 1.288 GB, free: 1.242 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/1.034, allocations: 0 / 1.288 GB, free: 1.242 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001188/1.035, allocations: 0.5488 MB / 1.288 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/1.035, allocations: 59.33 kB / 1.288 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/1.036, allocations: 0.503 MB / 1.289 GB, free: 108 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/1.036, allocations: 37.64 kB / 1.289 GB, free: 64 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/1.036, allocations: 304.2 kB / 1.289 GB, free: 15.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.306e-05/1.036, allocations: 114.3 kB / 1.289 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.036, allocations: 74.02 kB / 1.289 GB, free: 15.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.037, allocations: 358.8 kB / 1.29 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/1.037, allocations: 146.1 kB / 1.29 GB, free: 15.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/1.037, allocations: 223.6 kB / 1.29 GB, free: 14.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/1.038, allocations: 323.3 kB / 1.29 GB, free: 14.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.038, allocations: 0 / 1.29 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000702/1.038, allocations: 445.5 kB / 1.291 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.039, allocations: 6.344 kB / 1.291 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.039, allocations: 0 / 1.291 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.039, allocations: 4 kB / 1.291 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/1.039, allocations: 67.91 kB / 1.291 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/1.039, allocations: 3.938 kB / 1.291 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/1.039, allocations: 47.75 kB / 1.291 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/1.039, allocations: 12 kB / 1.291 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004152/1.04, allocations: 308 kB / 1.291 GB, free: 13.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002878/1.04, allocations: 202.8 kB / 1.291 GB, free: 13.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005106/1.041, allocations: 335.2 kB / 1.292 GB, free: 13.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/1.041, allocations: 0 / 1.292 GB, free: 13.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006642/1.041, allocations: 436.6 kB / 1.292 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/1.041, allocations: 4 kB / 1.292 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/1.041, allocations: 4 kB / 1.292 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-06/1.041, allocations: 0 / 1.292 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/1.042, allocations: 75.89 kB / 1.292 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/1.042, allocations: 0 / 1.292 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/1.042, allocations: 35.77 kB / 1.292 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/1.042, allocations: 15.94 kB / 1.292 GB, free: 12.48 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0001362/1.042, allocations: 204.7 kB / 1.293 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.851e-05/1.042, allocations: 63.33 kB / 1.293 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/1.043, allocations: 420.1 kB / 1.293 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.043, allocations: 0 / 1.293 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.043, allocations: 11.94 kB / 1.293 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005742/1.044, allocations: 436.5 kB / 1.293 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/1.045, allocations: 1.178 MB / 1.295 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.045, allocations: 4.188 kB / 1.295 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/1.046, allocations: 87.89 kB / 1.295 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.046, allocations: 3.984 kB / 1.295 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/1.046, allocations: 11.98 kB / 1.295 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.046, allocations: 4 kB / 1.295 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.046, allocations: 4 kB / 1.295 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/1.047, allocations: 0.691 MB / 1.295 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/1.047, allocations: 180.3 kB / 1.296 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/1.047, allocations: 16 kB / 1.296 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/1.048, allocations: 23.97 kB / 1.296 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/1.048, allocations: 23.97 kB / 1.296 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/1.048, allocations: 8 kB / 1.296 GB, free: 8.969 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003963/1.048, allocations: 374.7 kB / 1.296 GB, free: 8.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.048, allocations: 0 / 1.296 GB, free: 8.605 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007957/1.049, allocations: 323.3 kB / 1.296 GB, free: 8.289 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004271/1.049, allocations: 196.2 kB / 1.296 GB, free: 8.098 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009462/1.05, allocations: 0.5112 MB / 1.297 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.05, allocations: 0 / 1.297 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/1.051, allocations: 188.3 kB / 1.297 GB, free: 7.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/1.052, allocations: 347.2 kB / 1.297 GB, free: 7.062 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/1.054, allocations: 1.293 MB / 1.299 GB, free: 5.715 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/1.054, allocations: 0.9295 MB / 1.3 GB, free: 4.758 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/1.055, allocations: 59.38 kB / 1.3 GB, free: 4.699 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/1.055, allocations: 0 / 1.3 GB, free: 4.699 MB / 1.029 GB Notification: Performance of Templates: time 0.0136/1.068, allocations: 9.724 MB / 1.309 GB, free: 11.07 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_9_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches