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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001468/0.001468, allocations: 105.1 kB / 16.37 MB, free: 6.262 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.001578/0.001578, allocations: 191.9 kB / 17.3 MB, free: 5.848 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.388/2.388, allocations: 442.6 MB / 0.7166 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.69 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2536, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.02276/0.2764, allocations: 23.37 MB / 1.05 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008633/0.2851, allocations: 6.84 MB / 1.056 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005165/0.2856, allocations: 35.81 kB / 1.056 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007515/0.2864, allocations: 325.9 kB / 1.057 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.2882, allocations: 0.9048 MB / 1.057 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.2899, allocations: 0.7655 MB / 1.058 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003248/0.2932, allocations: 3.469 MB / 1.062 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.2946, allocations: 1.31 MB / 1.063 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.2967, allocations: 1.228 MB / 1.064 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.2978, allocations: 0.9218 MB / 1.065 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.2979, allocations: 92 kB / 1.065 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.2995, allocations: 0.7798 MB / 1.066 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.2997, allocations: 291 kB / 1.066 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006228/0.3004, allocations: 0.6259 MB / 1.067 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.3022, allocations: 1.901 MB / 1.069 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3022, allocations: 0 / 1.069 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3022, allocations: 4 kB / 1.069 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.3022, allocations: 0 / 1.069 GB, free: 7.059 MB / 0.8419 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.001939/0.3042, allocations: 1.538 MB / 1.07 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.3042, allocations: 8.031 kB / 1.07 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004178/0.3047, allocations: 143.4 kB / 1.07 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.3064, allocations: 1.228 MB / 1.071 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.3065, allocations: 58 kB / 1.071 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.3066, allocations: 76 kB / 1.072 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.308, allocations: 1.037 MB / 1.073 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3081, allocations: 3.938 kB / 1.073 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.3081, allocations: 35.98 kB / 1.073 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.3082, allocations: 20 kB / 1.073 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.3093, allocations: 0.7688 MB / 1.073 GB, free: 2.012 MB / 0.8419 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.4072/0.7165, allocations: 4.617 MB / 1.078 GB, free: 53.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.7171, allocations: 396.3 kB / 1.078 GB, free: 53.72 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.7174, allocations: 266.6 kB / 1.079 GB, free: 53.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.7177, allocations: 432.7 kB / 1.079 GB, free: 53.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.7177, allocations: 42.02 kB / 1.079 GB, free: 53.2 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=40): time 2.505e-06/0.7177, allocations: 1.156 kB / 1.079 GB, free: 53.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.001784/0.7195, allocations: 0.8573 MB / 1.08 GB, free: 52.96 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/0.7195, allocations: 59.8 kB / 1.08 GB, free: 52.9 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.7207, allocations: 0.9503 MB / 1.081 GB, free: 52.56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.7207, allocations: 37.56 kB / 1.081 GB, free: 52.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.721, allocations: 0.5052 MB / 1.081 GB, free: 52.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.7211, allocations: 145.9 kB / 1.081 GB, free: 52.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.7213, allocations: 128.4 kB / 1.082 GB, free: 52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.7214, allocations: 333.6 kB / 1.082 GB, free: 51.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.7217, allocations: 233.6 kB / 1.082 GB, free: 51.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.7222, allocations: 437.4 kB / 1.083 GB, free: 51.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007369/0.7229, allocations: 0.6604 MB / 1.083 GB, free: 50.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7229, allocations: 1.969 kB / 1.083 GB, free: 50.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001346/0.7243, allocations: 0.8208 MB / 1.084 GB, free: 50.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.7243, allocations: 8.75 kB / 1.084 GB, free: 50.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.7243, allocations: 5.688 kB / 1.084 GB, free: 50.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004143/0.7248, allocations: 79.34 kB / 1.084 GB, free: 50.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.7251, allocations: 112.5 kB / 1.084 GB, free: 50.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003802/0.7255, allocations: 0.6401 MB / 1.085 GB, free: 50.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.7261, allocations: 70.73 kB / 1.085 GB, free: 50.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.7262, allocations: 32.09 kB / 1.085 GB, free: 50.01 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007182/0.7269, allocations: 0.5686 MB / 1.085 GB, free: 49.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004269/0.7273, allocations: 433 kB / 1.086 GB, free: 49.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007307/0.7281, allocations: 0.6643 MB / 1.087 GB, free: 49.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.7281, allocations: 5.891 kB / 1.087 GB, free: 49.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001212/0.7293, allocations: 0.7768 MB / 1.087 GB, free: 48.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7293, allocations: 8.469 kB / 1.087 GB, free: 48.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.7294, allocations: 6.281 kB / 1.087 GB, free: 48.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.7295, allocations: 63.94 kB / 1.087 GB, free: 48.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.7299, allocations: 115.4 kB / 1.087 GB, free: 48.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.7312, allocations: 1.9 MB / 1.089 GB, free: 47.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.7318, allocations: 67.73 kB / 1.089 GB, free: 47.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.7319, allocations: 26.75 kB / 1.089 GB, free: 47 MB / 0.8419 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.0001792/0.7321, allocations: 228.8 kB / 1.09 GB, free: 46.79 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.7322, allocations: 87.47 kB / 1.09 GB, free: 46.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.7333, allocations: 0.6384 MB / 1.09 GB, free: 46.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007806/0.7341, allocations: 0.828 MB / 1.091 GB, free: 45.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.7341, allocations: 0 / 1.091 GB, free: 45.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.7345, allocations: 250.5 kB / 1.091 GB, free: 45.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/0.7346, allocations: 7.719 kB / 1.091 GB, free: 45.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.735, allocations: 35.34 kB / 1.091 GB, free: 45.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.7351, allocations: 26.95 kB / 1.091 GB, free: 45.72 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001098/0.7362, allocations: 0.6781 MB / 1.092 GB, free: 45.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001174/0.7374, allocations: 1.016 MB / 1.093 GB, free: 44.98 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002874/0.7377, allocations: 233.2 kB / 1.093 GB, free: 44.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008304/0.7385, allocations: 0.6669 MB / 1.094 GB, free: 44.67 MB / 0.8419 GB Notification: Performance of Backend: time 4.61e-07/0.7385, allocations: 0 / 1.094 GB, free: 44.67 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002397/0.7409, allocations: 1.145 MB / 1.095 GB, free: 44.27 MB / 0.8419 GB Notification: Performance of SimCode: time 0.004034/0.745, allocations: 2.812 MB / 1.098 GB, free: 42.78 MB / 0.8419 GB Notification: Performance of Templates: time 0.03501/0.78, allocations: 22.11 MB / 1.119 GB, free: 36.61 MB / 0.8419 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