Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 110.9 kB / 16.42 MB, free: 6.012 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.001831/0.001831, allocations: 193.6 kB / 17.35 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.3/2.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.643/5.643, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 68.11 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052/2.055, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.1179/2.173, allocations: 40.33 MB / 1.248 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03308/2.206, allocations: 4.094 MB / 1.252 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0186/2.225, allocations: 39.75 kB / 1.252 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002279/2.227, allocations: 345.7 kB / 1.252 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.02995/2.257, allocations: 2.49 MB / 1.255 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005315/2.262, allocations: 0.9236 MB / 1.256 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007062/2.269, allocations: 2.209 MB / 1.258 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01594/2.285, allocations: 0.6449 MB / 1.258 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/2.297, allocations: 2.387 MB / 1.261 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/2.3, allocations: 0.5522 MB / 1.261 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006103/2.301, allocations: 64 kB / 1.261 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01347/2.314, allocations: 3.19 MB / 1.264 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007606/2.315, allocations: 179.4 kB / 1.265 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001703/2.317, allocations: 394.1 kB / 1.265 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01064/2.327, allocations: 1.823 MB / 1.267 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/2.327, allocations: 0 / 1.267 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.458e-06/2.327, allocations: 3.984 kB / 1.267 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.116e-05/2.328, allocations: 4 kB / 1.267 GB, free: 1.832 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.007173/2.335, allocations: 1.199 MB / 1.268 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 9.419e-05/2.335, allocations: 8.031 kB / 1.268 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/2.338, allocations: 148 kB / 1.268 GB, free: 440 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/2.342, allocations: 0.7952 MB / 1.269 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.126e-05/2.342, allocations: 33 kB / 1.269 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/2.342, allocations: 48 kB / 1.269 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/2.346, allocations: 0.5196 MB / 1.269 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/2.346, allocations: 3.938 kB / 1.269 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/2.346, allocations: 16 kB / 1.269 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/2.346, allocations: 12 kB / 1.269 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/2.348, allocations: 339.7 kB / 1.27 GB, free: 14.6 MB / 0.9981 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.007269/2.355, allocations: 2.451 MB / 1.272 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009437/2.356, allocations: 263.8 kB / 1.272 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/2.356, allocations: 136.8 kB / 1.272 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001896/2.358, allocations: 1.378 MB / 1.274 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.458e-05/2.358, allocations: 42.5 kB / 1.274 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 5.61e-06/2.358, allocations: 0 / 1.274 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43): time 0.01441/2.373, allocations: 1.789 MB / 1.276 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/2.373, allocations: 59.41 kB / 1.276 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/2.374, allocations: 0.4952 MB / 1.276 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/2.375, allocations: 45.64 kB / 1.276 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/2.375, allocations: 328.4 kB / 1.277 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/2.375, allocations: 157.7 kB / 1.277 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/2.376, allocations: 90.16 kB / 1.277 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002574/2.376, allocations: 370.8 kB / 1.277 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/2.377, allocations: 151 kB / 1.277 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007076/2.377, allocations: 266.8 kB / 1.278 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/2.379, allocations: 444.9 kB / 1.278 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/2.379, allocations: 0 / 1.278 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002443/2.381, allocations: 0.6074 MB / 1.279 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/2.381, allocations: 8 kB / 1.279 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/2.381, allocations: 4 kB / 1.279 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005964/2.387, allocations: 197.5 kB / 1.279 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/2.388, allocations: 63.91 kB / 1.279 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/2.39, allocations: 1.343 MB / 1.28 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/2.391, allocations: 23.89 kB / 1.28 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/2.392, allocations: 20 kB / 1.28 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001014/2.393, allocations: 317.2 kB / 1.28 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007061/2.393, allocations: 262.5 kB / 1.281 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001322/2.395, allocations: 446.7 kB / 1.281 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.728e-06/2.395, allocations: 0 / 1.281 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.002524/2.397, allocations: 0.6031 MB / 1.282 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/2.397, allocations: 6.344 kB / 1.282 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/2.397, allocations: 4 kB / 1.282 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/2.399, allocations: 205.5 kB / 1.282 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/2.4, allocations: 71.91 kB / 1.282 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/2.402, allocations: 1.347 MB / 1.283 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009579/2.403, allocations: 12 kB / 1.283 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004246/2.407, allocations: 27.98 kB / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004582/2.407, allocations: 216.2 kB / 1.284 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/2.408, allocations: 63.19 kB / 1.284 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/2.411, allocations: 0.6184 MB / 1.284 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001976/2.413, allocations: 0.6551 MB / 1.285 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/2.413, allocations: 3.984 kB / 1.285 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007549/2.414, allocations: 184.3 kB / 1.285 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/2.414, allocations: 15.98 kB / 1.285 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009323/2.415, allocations: 11.94 kB / 1.285 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/2.415, allocations: 27.95 kB / 1.285 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002901/2.418, allocations: 0.6694 MB / 1.286 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002351/2.42, allocations: 0.8274 MB / 1.287 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006516/2.421, allocations: 183.9 kB / 1.287 GB, free: 12.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001261/2.422, allocations: 358.8 kB / 1.287 GB, free: 11.74 MB / 1.014 GB Notification: Performance of Backend: time 1.924e-06/2.422, allocations: 0 / 1.287 GB, free: 11.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01144/2.434, allocations: 1.156 MB / 1.288 GB, free: 10.58 MB / 1.014 GB Notification: Performance of SimCode: time 0.007345/2.441, allocations: 1.911 MB / 1.29 GB, free: 8.645 MB / 1.014 GB Notification: Performance of Templates: time 0.1005/2.542, allocations: 20.33 MB / 1.31 GB, free: 4.492 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches