Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 111.5 kB / 16.42 MB, free: 6.465 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.001844/0.001844, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.577/2.577, allocations: 472.7 MB / 0.746 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6968/0.6982, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.02328/0.7215, allocations: 23.36 MB / 1.249 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008883/0.7304, allocations: 6.862 MB / 1.256 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000577/0.731, allocations: 27.81 kB / 1.256 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007652/0.7318, allocations: 337.9 kB / 1.256 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.7337, allocations: 0.9436 MB / 1.257 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.7354, allocations: 0.7668 MB / 1.258 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003236/0.7386, allocations: 3.476 MB / 1.261 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.74, allocations: 1.306 MB / 1.263 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.742, allocations: 1.234 MB / 1.264 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.7431, allocations: 0.9218 MB / 1.265 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.7433, allocations: 92 kB / 1.265 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.7447, allocations: 0.776 MB / 1.265 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.745, allocations: 291 kB / 1.266 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006437/0.7456, allocations: 0.6298 MB / 1.266 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.7476, allocations: 1.916 MB / 1.268 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7477, allocations: 4 kB / 1.268 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7477, allocations: 0 / 1.268 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.7477, allocations: 0 / 1.268 GB, free: 2.441 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002036/0.7497, allocations: 1.58 MB / 1.27 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.7498, allocations: 8.031 kB / 1.27 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.7502, allocations: 148.1 kB / 1.27 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.7521, allocations: 1.236 MB / 1.271 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.7521, allocations: 58 kB / 1.271 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.7523, allocations: 76 kB / 1.271 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.7537, allocations: 1.037 MB / 1.272 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.7538, allocations: 3.938 kB / 1.272 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.7538, allocations: 35.98 kB / 1.272 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.7539, allocations: 24 kB / 1.272 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.755, allocations: 0.761 MB / 1.273 GB, free: 13.34 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.004654/0.7597, allocations: 4.64 MB / 1.278 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.7602, allocations: 392.5 kB / 1.278 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.7606, allocations: 269.3 kB / 1.278 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/0.761, allocations: 425.8 kB / 1.279 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.761, allocations: 42.89 kB / 1.279 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=40): time 1.944e-06/0.761, allocations: 4 kB / 1.279 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.001804/0.7628, allocations: 0.8707 MB / 1.28 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.7629, allocations: 55.41 kB / 1.28 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.764, allocations: 0.9583 MB / 1.281 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.764, allocations: 33.7 kB / 1.281 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.7644, allocations: 0.5078 MB / 1.281 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.7645, allocations: 154.7 kB / 1.281 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.7647, allocations: 130.1 kB / 1.281 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7648, allocations: 326 kB / 1.282 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.7651, allocations: 238.9 kB / 1.282 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.7656, allocations: 442.6 kB / 1.282 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.7664, allocations: 0.6591 MB / 1.283 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.7664, allocations: 11.88 kB / 1.283 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001348/0.7678, allocations: 0.8101 MB / 1.284 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7678, allocations: 8 kB / 1.284 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7678, allocations: 7.938 kB / 1.284 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.7682, allocations: 89.25 kB / 1.284 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.7686, allocations: 111.8 kB / 1.284 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004548/0.7691, allocations: 0.6266 MB / 1.285 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.7696, allocations: 87.52 kB / 1.285 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.7697, allocations: 28.06 kB / 1.285 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006575/0.7703, allocations: 0.5672 MB / 1.285 GB, free: 168 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004872/0.7708, allocations: 430.3 kB / 1.286 GB, free: 15.65 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007742/0.7716, allocations: 0.6725 MB / 1.286 GB, free: 14.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.7716, allocations: 0 / 1.286 GB, free: 14.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001167/0.7728, allocations: 0.786 MB / 1.287 GB, free: 14.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.7728, allocations: 11.98 kB / 1.287 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7728, allocations: 4 kB / 1.287 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.773, allocations: 60.77 kB / 1.287 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.7734, allocations: 115.8 kB / 1.287 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.775, allocations: 1.891 MB / 1.289 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.7755, allocations: 67.73 kB / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.7756, allocations: 32 kB / 1.289 GB, free: 11.77 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.7757, allocations: 224.9 kB / 1.289 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.7759, allocations: 95.39 kB / 1.29 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.7769, allocations: 0.6459 MB / 1.29 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008483/0.7778, allocations: 0.8322 MB / 1.291 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7778, allocations: 0 / 1.291 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.7781, allocations: 248.3 kB / 1.291 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.7782, allocations: 8 kB / 1.291 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.7787, allocations: 31.91 kB / 1.291 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.7788, allocations: 39.89 kB / 1.291 GB, free: 9.543 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001103/0.7799, allocations: 0.6728 MB / 1.292 GB, free: 8.859 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001158/0.781, allocations: 1.015 MB / 1.293 GB, free: 7.824 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002898/0.7813, allocations: 237 kB / 1.293 GB, free: 7.594 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007612/0.7821, allocations: 0.6707 MB / 1.294 GB, free: 6.926 MB / 1.014 GB Notification: Performance of Backend: time 2.134e-06/0.7821, allocations: 0 / 1.294 GB, free: 6.926 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002263/0.7844, allocations: 1.154 MB / 1.295 GB, free: 5.766 MB / 1.014 GB Notification: Performance of SimCode: time 0.004192/0.7886, allocations: 2.833 MB / 1.298 GB, free: 2.891 MB / 1.014 GB Notification: Performance of Templates: time 0.03292/0.8215, allocations: 22.33 MB / 1.319 GB, free: 12.79 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches