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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009867/0.0009867, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007575/0.007575, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5874/0.5877, allocations: 142.4 MB / 0.9552 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04033/0.6281, allocations: 48.44 MB / 1.002 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.6436, allocations: 12.58 MB / 1.015 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.6453, allocations: 67.56 kB / 1.015 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.6468, allocations: 0.6135 MB / 1.015 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003511/0.6503, allocations: 1.707 MB / 1.017 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.6529, allocations: 1.21 MB / 1.018 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00389/0.6568, allocations: 4.368 MB / 1.023 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.6579, allocations: 1.033 MB / 1.024 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.6594, allocations: 1.069 MB / 1.025 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008993/0.6603, allocations: 0.8939 MB / 1.025 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.319e-05/0.6604, allocations: 40 kB / 1.025 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.6622, allocations: 1.041 MB / 1.027 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.6624, allocations: 222.8 kB / 1.027 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004858/0.6629, allocations: 0.6309 MB / 1.027 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.6646, allocations: 1.869 MB / 1.029 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6646, allocations: 0 / 1.029 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6646, allocations: 0 / 1.029 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.6646, allocations: 0 / 1.029 GB, free: 3.297 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.001991/0.6666, allocations: 1.479 MB / 1.031 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.6666, allocations: 8.031 kB / 1.031 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.6668, allocations: 143.4 kB / 1.031 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005103/0.6673, allocations: 223.1 kB / 1.031 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.6689, allocations: 1.077 MB / 1.032 GB, free: 260 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/0.6693, allocations: 138 kB / 1.032 GB, free: 124 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.6694, allocations: 84 kB / 1.032 GB, free: 40 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.671, allocations: 1.017 MB / 1.033 GB, free: 14.95 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.671, allocations: 4 kB / 1.033 GB, free: 14.95 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/0.6711, allocations: 36 kB / 1.033 GB, free: 14.91 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.6711, allocations: 20 kB / 1.033 GB, free: 14.89 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.6725, allocations: 0.6908 MB / 1.034 GB, free: 14.2 MB / 0.795 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.004246/0.6768, allocations: 4.447 MB / 1.038 GB, free: 9.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.6779, allocations: 438.5 kB / 1.039 GB, free: 9.062 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.6785, allocations: 244.6 kB / 1.039 GB, free: 8.82 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/0.6792, allocations: 1.148 MB / 1.04 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.6793, allocations: 38.56 kB / 1.04 GB, free: 7.367 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.6793, allocations: 0 / 1.04 GB, free: 7.367 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.0027/0.682, allocations: 1.15 MB / 1.041 GB, free: 6.145 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.682, allocations: 59.41 kB / 1.041 GB, free: 6.074 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009507/0.683, allocations: 0.9395 MB / 1.042 GB, free: 5.121 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.683, allocations: 33.7 kB / 1.042 GB, free: 5.082 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.6834, allocations: 0.5773 MB / 1.043 GB, free: 4.5 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.6835, allocations: 110.5 kB / 1.043 GB, free: 4.391 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.6836, allocations: 37.7 kB / 1.043 GB, free: 4.348 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.6836, allocations: 322 kB / 1.043 GB, free: 4.027 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/0.6842, allocations: 228.9 kB / 1.043 GB, free: 3.805 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.6848, allocations: 394.9 kB / 1.044 GB, free: 3.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.686, allocations: 0.6082 MB / 1.044 GB, free: 2.656 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.686, allocations: 0 / 1.044 GB, free: 2.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001511/0.6875, allocations: 0.7681 MB / 1.045 GB, free: 1.871 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.6876, allocations: 8 kB / 1.045 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6876, allocations: 4 kB / 1.045 GB, free: 1.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000597/0.6882, allocations: 166.6 kB / 1.045 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.6888, allocations: 155.8 kB / 1.046 GB, free: 1.535 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009389/0.6897, allocations: 1.716 MB / 1.047 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006259/0.6904, allocations: 111.4 kB / 1.047 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.6904, allocations: 35.98 kB / 1.047 GB, free: 15.6 MB / 0.8106 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.0003181/0.6908, allocations: 267.1 kB / 1.048 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.6909, allocations: 114.6 kB / 1.048 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.6926, allocations: 0.7618 MB / 1.048 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.6927, allocations: 11.92 kB / 1.048 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6927, allocations: 4.062 kB / 1.048 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.6927, allocations: 0 / 1.048 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.6953, allocations: 1.675 MB / 1.05 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.6953, allocations: 4 kB / 1.05 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.6958, allocations: 107.9 kB / 1.05 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/0.6963, allocations: 154.4 kB / 1.05 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.6963, allocations: 8 kB / 1.05 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009475/0.6973, allocations: 1.716 MB / 1.052 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6973, allocations: 0 / 1.052 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.6988, allocations: 0.8231 MB / 1.053 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.6992, allocations: 243.6 kB / 1.053 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/0.6993, allocations: 4 kB / 1.053 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.6999, allocations: 91.86 kB / 1.053 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.7, allocations: 35.83 kB / 1.053 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.7001, allocations: 19.98 kB / 1.053 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007955/0.7009, allocations: 0.6303 MB / 1.054 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7009, allocations: 0 / 1.054 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001189/0.7021, allocations: 363.1 kB / 1.054 GB, free: 8.332 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.002753/0.7048, allocations: 1.662 MB / 1.056 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.7065, allocations: 0.5788 MB / 1.056 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7065, allocations: 0 / 1.056 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000801/0.7073, allocations: 308 kB / 1.057 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.7099, allocations: 0.4994 MB / 1.057 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.7213, allocations: 8.088 MB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.7219, allocations: 1.103 MB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005807/0.7225, allocations: 177.7 kB / 1.066 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.7229, allocations: 419.3 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.7229, allocations: 0 / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4436/1.167, allocations: 27.27 MB / 1.093 GB, free: 196 kB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/1.167, allocations: 287.8 kB / 1.094 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/4.349, allocations: 0 / 1.094 GB, free: 15.81 MB / 0.8575 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