Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001223/0.001223, allocations: 108.3 kB / 16.42 MB, free: 6.512 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.001221/0.001221, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.575/2.575, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 67.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7305/0.7318, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1788/0.9106, allocations: 187.9 MB / 1.392 GB, free: 1.059 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.9246, allocations: 10.76 MB / 1.402 GB, free: 6.266 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.9257, allocations: 39.75 kB / 1.402 GB, free: 6.227 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.927, allocations: 0.4971 MB / 1.403 GB, free: 5.727 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00556/0.9325, allocations: 2.661 MB / 1.406 GB, free: 3.055 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005382/0.9379, allocations: 2.476 MB / 1.408 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003288/0.9412, allocations: 2.77 MB / 1.411 GB, free: 13.8 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.9423, allocations: 0.78 MB / 1.411 GB, free: 13.01 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.9441, allocations: 1.031 MB / 1.412 GB, free: 11.97 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.9459, allocations: 1.06 MB / 1.413 GB, free: 10.91 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.9461, allocations: 99.94 kB / 1.414 GB, free: 10.82 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005177/0.9513, allocations: 3.017 MB / 1.416 GB, free: 7.793 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000483/0.9518, allocations: 438.8 kB / 1.417 GB, free: 7.363 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006913/0.9525, allocations: 0.5793 MB / 1.417 GB, free: 6.781 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004492/0.957, allocations: 2.953 MB / 1.42 GB, free: 3.82 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.957, allocations: 0 / 1.42 GB, free: 3.82 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.484e-06/0.957, allocations: 0 / 1.42 GB, free: 3.82 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.957, allocations: 0 / 1.42 GB, free: 3.82 MB / 1.139 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.004298/0.9614, allocations: 1.674 MB / 1.422 GB, free: 2.094 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.9614, allocations: 8.031 kB / 1.422 GB, free: 2.086 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.9634, allocations: 298.4 kB / 1.422 GB, free: 1.793 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.9649, allocations: 0.8273 MB / 1.423 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/0.965, allocations: 49.3 kB / 1.423 GB, free: 0.875 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.9651, allocations: 71.97 kB / 1.423 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.9667, allocations: 0.996 MB / 1.424 GB, free: 15.79 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.9667, allocations: 0 / 1.424 GB, free: 15.79 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/0.9668, allocations: 27.98 kB / 1.424 GB, free: 15.76 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.439e-05/0.9669, allocations: 69.95 kB / 1.424 GB, free: 15.7 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.9686, allocations: 1.019 MB / 1.425 GB, free: 14.68 MB / 1.154 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.005766/0.9743, allocations: 3.567 MB / 1.429 GB, free: 10.88 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.9755, allocations: 0.6613 MB / 1.429 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.976, allocations: 374.9 kB / 1.43 GB, free: 9.84 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/0.9763, allocations: 198.8 kB / 1.43 GB, free: 9.609 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.9763, allocations: 43.06 kB / 1.43 GB, free: 9.559 MB / 1.154 GB Notification: Performance of pre-optimization done (n=62): time 2.685e-06/0.9763, allocations: 0 / 1.43 GB, free: 9.559 MB / 1.154 GB Notification: Performance of matching and sorting (n=62): time 0.001959/0.9783, allocations: 1.021 MB / 1.431 GB, free: 8.531 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.9784, allocations: 111.3 kB / 1.431 GB, free: 8.398 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009673/0.9793, allocations: 0.8136 MB / 1.432 GB, free: 7.574 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/0.9794, allocations: 33.7 kB / 1.432 GB, free: 7.535 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.9797, allocations: 428 kB / 1.432 GB, free: 7.109 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.9799, allocations: 224.8 kB / 1.433 GB, free: 6.887 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.9802, allocations: 142.6 kB / 1.433 GB, free: 6.738 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.9803, allocations: 334 kB / 1.433 GB, free: 6.406 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.9808, allocations: 340.7 kB / 1.433 GB, free: 6.07 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.9815, allocations: 468.7 kB / 1.434 GB, free: 5.578 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.9826, allocations: 0.7626 MB / 1.434 GB, free: 4.785 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9827, allocations: 0 / 1.434 GB, free: 4.785 MB / 1.154 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001507/0.9842, allocations: 0.9373 MB / 1.435 GB, free: 3.84 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.9842, allocations: 4 kB / 1.435 GB, free: 3.836 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.9842, allocations: 4 kB / 1.435 GB, free: 3.832 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.9842, allocations: 4 kB / 1.435 GB, free: 3.828 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007485/0.985, allocations: 159.7 kB / 1.436 GB, free: 3.672 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.985, allocations: 4 kB / 1.436 GB, free: 3.668 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008022/0.9858, allocations: 83.39 kB / 1.436 GB, free: 3.586 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.9859, allocations: 36.05 kB / 1.436 GB, free: 3.551 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000853/0.9868, allocations: 0.5409 MB / 1.436 GB, free: 3.008 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006076/0.9874, allocations: 454.4 kB / 1.437 GB, free: 2.523 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001037/0.9884, allocations: 0.737 MB / 1.437 GB, free: 1.75 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.9884, allocations: 0 / 1.437 GB, free: 1.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001435/0.9899, allocations: 0.8826 MB / 1.438 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.9899, allocations: 8.281 kB / 1.438 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.9899, allocations: 4 kB / 1.438 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.627e-06/0.9899, allocations: 8 kB / 1.438 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/0.9907, allocations: 147.8 kB / 1.438 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9907, allocations: 4 kB / 1.438 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000774/0.9915, allocations: 67.41 kB / 1.438 GB, free: 0.625 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.9915, allocations: 28 kB / 1.438 GB, free: 0.5977 MB / 1.154 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.0002057/0.9917, allocations: 220.1 kB / 1.439 GB, free: 384 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.9919, allocations: 98.8 kB / 1.439 GB, free: 284 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.9933, allocations: 0.8111 MB / 1.44 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001003/0.9943, allocations: 0.7439 MB / 1.44 GB, free: 14.69 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9943, allocations: 0 / 1.44 GB, free: 14.69 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.9947, allocations: 243.8 kB / 1.441 GB, free: 14.43 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.9949, allocations: 12 kB / 1.441 GB, free: 14.42 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.9954, allocations: 19.98 kB / 1.441 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.9955, allocations: 40.45 kB / 1.441 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00148/0.997, allocations: 0.8345 MB / 1.441 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001772/0.9988, allocations: 1.345 MB / 1.443 GB, free: 12.16 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004592/0.9992, allocations: 344.3 kB / 1.443 GB, free: 11.82 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006809/0.9999, allocations: 0.5576 MB / 1.444 GB, free: 11.27 MB / 1.17 GB Notification: Performance of Backend: time 8.11e-07/0.9999, allocations: 3.938 kB / 1.444 GB, free: 11.26 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003915/1.004, allocations: 1.683 MB / 1.445 GB, free: 9.586 MB / 1.17 GB Notification: Performance of SimCode: time 0.003759/1.008, allocations: 2.397 MB / 1.448 GB, free: 7.141 MB / 1.17 GB Notification: Performance of Templates: time 0.04513/1.053, allocations: 29.53 MB / 1.476 GB, free: 9.828 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches