Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001594, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001757/0.001757, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.704/1.704, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.221/2.221, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.523/0.5243, allocations: 140.4 MB / 0.9492 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04427/0.5686, allocations: 49.37 MB / 0.9974 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.5857, allocations: 12.58 MB / 1.01 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.5881, allocations: 75.5 kB / 1.01 GB, free: 3.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.5901, allocations: 0.6448 MB / 1.01 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004483/0.5946, allocations: 1.714 MB / 1.012 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.5976, allocations: 1.221 MB / 1.013 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003962/0.6016, allocations: 3.28 MB / 1.016 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.6033, allocations: 1.225 MB / 1.018 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.6065, allocations: 1.307 MB / 1.019 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.6079, allocations: 0.9603 MB / 1.02 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.6082, allocations: 96 kB / 1.02 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.6101, allocations: 1.076 MB / 1.021 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003786/0.6104, allocations: 290.8 kB / 1.021 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008752/0.6113, allocations: 0.6761 MB / 1.022 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.6138, allocations: 1.951 MB / 1.024 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6138, allocations: 0 / 1.024 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6138, allocations: 0 / 1.024 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.685e-05/0.6139, allocations: 0 / 1.024 GB, free: 5.32 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002919/0.6168, allocations: 1.689 MB / 1.026 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6169, allocations: 11.97 kB / 1.026 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.617, allocations: 135.4 kB / 1.026 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005974/0.6176, allocations: 211 kB / 1.026 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.6193, allocations: 1.088 MB / 1.027 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/0.6197, allocations: 126 kB / 1.027 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.6198, allocations: 88 kB / 1.027 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.6215, allocations: 0.9922 MB / 1.028 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.6215, allocations: 0 / 1.028 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/0.6216, allocations: 40 kB / 1.028 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.6216, allocations: 20 kB / 1.028 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.6231, allocations: 0.6594 MB / 1.029 GB, free: 88 kB / 0.7794 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.004988/0.6281, allocations: 4.424 MB / 1.033 GB, free: 11.41 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.6293, allocations: 410.5 kB / 1.034 GB, free: 11 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/0.6298, allocations: 220.7 kB / 1.034 GB, free: 10.78 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008372/0.6306, allocations: 1.144 MB / 1.035 GB, free: 9.375 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.6307, allocations: 34.56 kB / 1.035 GB, free: 9.332 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.6307, allocations: 0 / 1.035 GB, free: 9.332 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.002808/0.6335, allocations: 1.096 MB / 1.036 GB, free: 8.164 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.6335, allocations: 59.41 kB / 1.036 GB, free: 8.094 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009951/0.6345, allocations: 0.9317 MB / 1.037 GB, free: 7.148 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.6346, allocations: 33.7 kB / 1.037 GB, free: 7.109 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.635, allocations: 0.5812 MB / 1.038 GB, free: 6.523 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.578e-05/0.6351, allocations: 98.64 kB / 1.038 GB, free: 6.426 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.6352, allocations: 102.1 kB / 1.038 GB, free: 6.32 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6353, allocations: 337.9 kB / 1.038 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.6359, allocations: 204.9 kB / 1.038 GB, free: 5.781 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/0.6366, allocations: 374.9 kB / 1.039 GB, free: 5.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.6377, allocations: 0.5692 MB / 1.039 GB, free: 4.695 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6377, allocations: 7.938 kB / 1.039 GB, free: 4.688 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00155/0.6393, allocations: 0.7287 MB / 1.04 GB, free: 3.941 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6393, allocations: 8 kB / 1.04 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.6393, allocations: 4 kB / 1.04 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/0.64, allocations: 167 kB / 1.04 GB, free: 3.758 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.6406, allocations: 139.8 kB / 1.04 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.6417, allocations: 1.716 MB / 1.042 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/0.6423, allocations: 107.4 kB / 1.042 GB, free: 1.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.6424, allocations: 27.98 kB / 1.042 GB, free: 1.695 MB / 0.795 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003365/0.6427, allocations: 270.1 kB / 1.042 GB, free: 1.422 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.6429, allocations: 114.6 kB / 1.042 GB, free: 1.309 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.6446, allocations: 0.7229 MB / 1.043 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.6446, allocations: 15.92 kB / 1.043 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.6447, allocations: 0 / 1.043 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6447, allocations: 11.94 kB / 1.043 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.6474, allocations: 1.624 MB / 1.045 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.6474, allocations: 4 kB / 1.045 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.6479, allocations: 96.03 kB / 1.045 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005363/0.6484, allocations: 150.4 kB / 1.045 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.6485, allocations: 8 kB / 1.045 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.6495, allocations: 1.72 MB / 1.047 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6495, allocations: 4.031 kB / 1.047 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.651, allocations: 0.7803 MB / 1.047 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.6514, allocations: 243.6 kB / 1.048 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.6515, allocations: 8 kB / 1.048 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/0.6522, allocations: 79.81 kB / 1.048 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.6522, allocations: 35.84 kB / 1.048 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.6523, allocations: 19.98 kB / 1.048 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007606/0.6531, allocations: 0.6342 MB / 1.048 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6531, allocations: 3.938 kB / 1.048 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008935/0.654, allocations: 359.1 kB / 1.049 GB, free: 10.55 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002483/0.6565, allocations: 1.62 MB / 1.05 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.658, allocations: 0.564 MB / 1.051 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.658, allocations: 0 / 1.051 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008081/0.6588, allocations: 296 kB / 1.051 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.661, allocations: 0.5305 MB / 1.052 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.6728, allocations: 7.946 MB / 1.059 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/0.6735, allocations: 1.107 MB / 1.06 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007181/0.6742, allocations: 187.9 kB / 1.061 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000467/0.6747, allocations: 415.3 kB / 1.061 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of SimCode: time 6.62e-07/0.6747, allocations: 0 / 1.061 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2298/0.9045, allocations: 28.23 MB / 1.089 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004172/0.905, allocations: 285.7 kB / 1.089 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/3.595, allocations: 64 / 1.089 GB, free: 1.27 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches