Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 113.9 kB / 16.42 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.001276/0.001276, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.18 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.207/2.207, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8043/0.8057, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2162/1.022, allocations: 187.9 MB / 1.272 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.016/1.038, allocations: 10.76 MB / 1.283 GB, free: 7.035 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/1.039, allocations: 39.75 kB / 1.283 GB, free: 6.996 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/1.041, allocations: 0.5088 MB / 1.283 GB, free: 6.484 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007623/1.049, allocations: 2.661 MB / 1.286 GB, free: 3.812 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005951/1.055, allocations: 2.464 MB / 1.288 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003498/1.058, allocations: 2.771 MB / 1.291 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/1.059, allocations: 0.7878 MB / 1.292 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/1.061, allocations: 1.016 MB / 1.293 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/1.063, allocations: 1.064 MB / 1.294 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002252/1.064, allocations: 96 kB / 1.294 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005263/1.069, allocations: 3.017 MB / 1.297 GB, free: 8.578 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005252/1.069, allocations: 438.8 kB / 1.297 GB, free: 8.148 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008209/1.07, allocations: 0.5793 MB / 1.298 GB, free: 7.566 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004849/1.075, allocations: 2.95 MB / 1.301 GB, free: 4.609 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.075, allocations: 0 / 1.301 GB, free: 4.609 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/1.075, allocations: 0 / 1.301 GB, free: 4.609 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.996e-05/1.075, allocations: 0 / 1.301 GB, free: 4.609 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003767/1.079, allocations: 1.682 MB / 1.302 GB, free: 2.875 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.079, allocations: 12.03 kB / 1.302 GB, free: 2.863 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/1.081, allocations: 294.4 kB / 1.302 GB, free: 2.574 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/1.082, allocations: 0.8234 MB / 1.303 GB, free: 1.711 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/1.082, allocations: 57.28 kB / 1.303 GB, free: 1.652 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/1.083, allocations: 59.98 kB / 1.303 GB, free: 1.594 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/1.084, allocations: 0.996 MB / 1.304 GB, free: 0.582 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/1.084, allocations: 0 / 1.304 GB, free: 0.582 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/1.084, allocations: 31.98 kB / 1.304 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-05/1.084, allocations: 69.95 kB / 1.304 GB, free: 496 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/1.086, allocations: 1.011 MB / 1.305 GB, free: 15.47 MB / 1.045 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.005866/1.092, allocations: 3.586 MB / 1.309 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/1.093, allocations: 0.6584 MB / 1.31 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/1.094, allocations: 386.3 kB / 1.31 GB, free: 10.6 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/1.094, allocations: 194.7 kB / 1.31 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/1.094, allocations: 47.11 kB / 1.31 GB, free: 10.32 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 1.923e-06/1.094, allocations: 0 / 1.31 GB, free: 10.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.001861/1.096, allocations: 1.021 MB / 1.311 GB, free: 9.293 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/1.096, allocations: 107.4 kB / 1.311 GB, free: 9.164 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009531/1.097, allocations: 0.8019 MB / 1.312 GB, free: 8.355 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/1.097, allocations: 37.7 kB / 1.312 GB, free: 8.312 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/1.097, allocations: 428 kB / 1.313 GB, free: 7.887 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/1.097, allocations: 224.9 kB / 1.313 GB, free: 7.664 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.098, allocations: 138.6 kB / 1.313 GB, free: 7.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.098, allocations: 337.9 kB / 1.313 GB, free: 7.188 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/1.098, allocations: 348.7 kB / 1.314 GB, free: 6.844 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/1.099, allocations: 456.7 kB / 1.314 GB, free: 6.355 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.1, allocations: 0.7743 MB / 1.315 GB, free: 5.551 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.1, allocations: 0 / 1.315 GB, free: 5.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001526/1.102, allocations: 0.9372 MB / 1.316 GB, free: 4.605 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.102, allocations: 4 kB / 1.316 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.102, allocations: 4 kB / 1.316 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.102, allocations: 4 kB / 1.316 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/1.102, allocations: 156 kB / 1.316 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/1.102, allocations: 11.97 kB / 1.316 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007926/1.103, allocations: 83.11 kB / 1.316 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/1.103, allocations: 24 kB / 1.316 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008124/1.104, allocations: 0.537 MB / 1.316 GB, free: 3.785 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000605/1.105, allocations: 454.4 kB / 1.317 GB, free: 3.301 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00103/1.106, allocations: 0.7292 MB / 1.318 GB, free: 2.531 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.668e-06/1.106, allocations: 3.984 kB / 1.318 GB, free: 2.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001402/1.107, allocations: 0.8866 MB / 1.318 GB, free: 1.633 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.107, allocations: 8 kB / 1.318 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.107, allocations: 0 / 1.318 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/1.107, allocations: 8 kB / 1.318 GB, free: 1.617 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/1.108, allocations: 151.8 kB / 1.319 GB, free: 1.469 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.108, allocations: 4 kB / 1.319 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007453/1.109, allocations: 71.53 kB / 1.319 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/1.109, allocations: 24 kB / 1.319 GB, free: 1.371 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0002027/1.109, allocations: 220.9 kB / 1.319 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/1.109, allocations: 94.81 kB / 1.319 GB, free: 1.055 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/1.111, allocations: 0.8124 MB / 1.32 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009876/1.112, allocations: 0.74 MB / 1.321 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.112, allocations: 0 / 1.321 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/1.112, allocations: 243.9 kB / 1.321 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/1.112, allocations: 12 kB / 1.321 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/1.113, allocations: 33.31 kB / 1.321 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/1.113, allocations: 36.55 kB / 1.321 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001511/1.114, allocations: 0.8305 MB / 1.322 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001901/1.116, allocations: 1.345 MB / 1.323 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004767/1.117, allocations: 352.3 kB / 1.323 GB, free: 12.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007244/1.117, allocations: 0.5615 MB / 1.324 GB, free: 12.02 MB / 1.061 GB Notification: Performance of Backend: time 4.31e-07/1.117, allocations: 3.938 kB / 1.324 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004151/1.122, allocations: 1.675 MB / 1.325 GB, free: 10.36 MB / 1.061 GB Notification: Performance of SimCode: time 0.003922/1.126, allocations: 2.408 MB / 1.328 GB, free: 7.902 MB / 1.061 GB Notification: Performance of Templates: time 0.04424/1.17, allocations: 29.51 MB / 1.357 GB, free: 10.61 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches