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.001809/0.001809, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001903/0.001903, allocations: 187 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.08 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.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 55.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7943/0.7957, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2151/1.011, allocations: 183.3 MB / 1.268 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008592/1.019, allocations: 4.874 MB / 1.272 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/1.021, allocations: 27.81 kB / 1.272 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/1.023, allocations: 429.4 kB / 1.273 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004566/1.027, allocations: 1.414 MB / 1.274 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/1.03, allocations: 0.7942 MB / 1.275 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002857/1.033, allocations: 1.848 MB / 1.277 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/1.034, allocations: 0.5939 MB / 1.277 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/1.036, allocations: 0.8812 MB / 1.278 GB, free: 11.54 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/1.038, allocations: 0.5435 MB / 1.279 GB, free: 10.99 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/1.038, allocations: 60 kB / 1.279 GB, free: 10.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/1.041, allocations: 1.411 MB / 1.28 GB, free: 9.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004469/1.042, allocations: 271.2 kB / 1.28 GB, free: 9.254 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008713/1.042, allocations: 398.1 kB / 1.281 GB, free: 8.863 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/1.046, allocations: 1.418 MB / 1.282 GB, free: 7.441 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.046, allocations: 0 / 1.282 GB, free: 7.441 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/1.046, allocations: 4 kB / 1.282 GB, free: 7.438 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.613e-05/1.046, allocations: 4 kB / 1.282 GB, free: 7.434 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.002247/1.048, allocations: 1.094 MB / 1.283 GB, free: 6.289 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/1.048, allocations: 11.97 kB / 1.283 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/1.05, allocations: 214.8 kB / 1.283 GB, free: 6.066 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.051, allocations: 0.6161 MB / 1.284 GB, free: 5.406 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/1.051, allocations: 32.94 kB / 1.284 GB, free: 5.375 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.369e-05/1.051, allocations: 48 kB / 1.284 GB, free: 5.328 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/1.052, allocations: 0.4906 MB / 1.285 GB, free: 4.832 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/1.052, allocations: 0 / 1.285 GB, free: 4.832 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/1.052, allocations: 20 kB / 1.285 GB, free: 4.812 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/1.052, allocations: 20.94 kB / 1.285 GB, free: 4.793 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/1.053, allocations: 447.6 kB / 1.285 GB, free: 4.352 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.002976/1.056, allocations: 1.994 MB / 1.287 GB, free: 2.184 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/1.056, allocations: 351.5 kB / 1.287 GB, free: 1.832 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/1.057, allocations: 201.3 kB / 1.288 GB, free: 1.633 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/1.057, allocations: 202.5 kB / 1.288 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/1.057, allocations: 34.84 kB / 1.288 GB, free: 1.355 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/1.057, allocations: 0 / 1.288 GB, free: 1.355 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001326/1.058, allocations: 0.5409 MB / 1.288 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/1.059, allocations: 63.34 kB / 1.288 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/1.059, allocations: 0.5108 MB / 1.289 GB, free: 220 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/1.059, allocations: 33.7 kB / 1.289 GB, free: 180 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/1.059, allocations: 300.3 kB / 1.289 GB, free: 15.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/1.06, allocations: 122.2 kB / 1.289 GB, free: 15.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.06, allocations: 62.03 kB / 1.289 GB, free: 15.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.06, allocations: 370.8 kB / 1.29 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/1.06, allocations: 146.1 kB / 1.29 GB, free: 15.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/1.061, allocations: 215.6 kB / 1.29 GB, free: 14.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/1.061, allocations: 339.2 kB / 1.29 GB, free: 14.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.061, allocations: 0 / 1.29 GB, free: 14.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007821/1.062, allocations: 433.5 kB / 1.291 GB, free: 14.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.062, allocations: 4 kB / 1.291 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.062, allocations: 4.094 kB / 1.291 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.062, allocations: 4 kB / 1.291 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/1.062, allocations: 75.89 kB / 1.291 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.062, allocations: 3.938 kB / 1.291 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/1.063, allocations: 35.67 kB / 1.291 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/1.063, allocations: 16 kB / 1.291 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005161/1.063, allocations: 308 kB / 1.291 GB, free: 13.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003107/1.064, allocations: 206.8 kB / 1.291 GB, free: 13.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000534/1.064, allocations: 331.2 kB / 1.292 GB, free: 13.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/1.064, allocations: 0 / 1.292 GB, free: 13.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007457/1.065, allocations: 428.6 kB / 1.292 GB, free: 12.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.065, allocations: 11.92 kB / 1.292 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.065, allocations: 4 kB / 1.292 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/1.065, allocations: 0 / 1.292 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/1.065, allocations: 67.91 kB / 1.292 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.065, allocations: 8.031 kB / 1.292 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/1.066, allocations: 39.75 kB / 1.292 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/1.066, allocations: 15.98 kB / 1.292 GB, free: 12.59 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.0001577/1.066, allocations: 200.7 kB / 1.292 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/1.066, allocations: 59.34 kB / 1.293 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008242/1.067, allocations: 424 kB / 1.293 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.067, allocations: 4 kB / 1.293 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.067, allocations: 3.938 kB / 1.293 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006015/1.068, allocations: 440.5 kB / 1.293 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/1.07, allocations: 1.178 MB / 1.294 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.07, allocations: 0 / 1.294 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/1.07, allocations: 87.88 kB / 1.295 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/1.07, allocations: 0 / 1.295 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/1.07, allocations: 8 kB / 1.295 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/1.07, allocations: 4.188 kB / 1.295 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.07, allocations: 8 kB / 1.295 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/1.071, allocations: 0.6988 MB / 1.295 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/1.071, allocations: 176.4 kB / 1.295 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.276e-05/1.072, allocations: 15.98 kB / 1.295 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/1.072, allocations: 26.47 kB / 1.295 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/1.072, allocations: 27.97 kB / 1.296 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/1.072, allocations: 15.98 kB / 1.296 GB, free: 9.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000439/1.073, allocations: 366.8 kB / 1.296 GB, free: 8.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.71e-07/1.073, allocations: 0 / 1.296 GB, free: 8.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009157/1.074, allocations: 323.3 kB / 1.296 GB, free: 8.398 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.0005427/1.074, allocations: 185.5 kB / 1.296 GB, free: 8.219 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001074/1.075, allocations: 0.5269 MB / 1.297 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.075, allocations: 0 / 1.297 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/1.076, allocations: 175.8 kB / 1.297 GB, free: 7.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/1.077, allocations: 346.1 kB / 1.297 GB, free: 7.184 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/1.079, allocations: 1.297 MB / 1.299 GB, free: 5.832 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/1.08, allocations: 0.9295 MB / 1.3 GB, free: 4.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/1.08, allocations: 51.42 kB / 1.3 GB, free: 4.824 MB / 1.029 GB Notification: Performance of SimCode: time 8.01e-07/1.08, allocations: 0 / 1.3 GB, free: 4.824 MB / 1.029 GB Notification: Performance of Templates: time 0.01728/1.097, allocations: 9.73 MB / 1.309 GB, free: 11.19 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