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.001764/0.001764, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002192/0.002192, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.288/2.288, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 63.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.5769, allocations: 140.4 MB / 0.9497 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0488/0.6257, allocations: 49.79 MB / 0.9983 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.6434, allocations: 12.67 MB / 1.011 GB, free: 3.18 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.6458, allocations: 79.56 kB / 1.011 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.6478, allocations: 0.7604 MB / 1.012 GB, free: 2.336 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.6524, allocations: 1.824 MB / 1.013 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.6557, allocations: 1.344 MB / 1.015 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003957/0.6596, allocations: 3.245 MB / 1.018 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.6616, allocations: 1.256 MB / 1.019 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/0.6647, allocations: 1.287 MB / 1.02 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.6661, allocations: 0.9291 MB / 1.021 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.6663, allocations: 96 kB / 1.021 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.6688, allocations: 1.068 MB / 1.022 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003961/0.6692, allocations: 290.8 kB / 1.023 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.6702, allocations: 0.6761 MB / 1.023 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.6734, allocations: 1.916 MB / 1.025 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6734, allocations: 0 / 1.025 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6735, allocations: 0 / 1.025 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.07e-05/0.6735, allocations: 0 / 1.025 GB, free: 4.371 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.002951/0.6765, allocations: 1.713 MB / 1.027 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6765, allocations: 8.031 kB / 1.027 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.6767, allocations: 135.4 kB / 1.027 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/0.6774, allocations: 211 kB / 1.027 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.6792, allocations: 1.018 MB / 1.028 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/0.6796, allocations: 130 kB / 1.028 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6798, allocations: 84 kB / 1.028 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.6814, allocations: 1.003 MB / 1.029 GB, free: 15.88 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.6815, allocations: 7.938 kB / 1.029 GB, free: 15.88 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.6816, allocations: 40 kB / 1.029 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.6816, allocations: 23.98 kB / 1.029 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.6831, allocations: 0.6594 MB / 1.03 GB, free: 15.15 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.00504/0.6882, allocations: 4.769 MB / 1.035 GB, free: 10.11 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.6894, allocations: 402.6 kB / 1.035 GB, free: 9.707 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.69, allocations: 224.7 kB / 1.035 GB, free: 9.484 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007999/0.6908, allocations: 1.152 MB / 1.036 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6909, allocations: 38.5 kB / 1.036 GB, free: 8.027 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.6909, allocations: 0 / 1.036 GB, free: 8.027 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.002922/0.6938, allocations: 1.097 MB / 1.038 GB, free: 6.859 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.6939, allocations: 59.41 kB / 1.038 GB, free: 6.789 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.6949, allocations: 0.9715 MB / 1.039 GB, free: 5.805 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.695, allocations: 33.7 kB / 1.039 GB, free: 5.766 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/0.6954, allocations: 0.5888 MB / 1.039 GB, free: 5.172 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.139e-05/0.6955, allocations: 106.6 kB / 1.039 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.6957, allocations: 110 kB / 1.039 GB, free: 4.953 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.6958, allocations: 326 kB / 1.04 GB, free: 4.629 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/0.6964, allocations: 208.9 kB / 1.04 GB, free: 4.422 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/0.6971, allocations: 406.3 kB / 1.04 GB, free: 3.938 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.6984, allocations: 0.6176 MB / 1.041 GB, free: 3.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6984, allocations: 0 / 1.041 GB, free: 3.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001724/0.7001, allocations: 0.7722 MB / 1.042 GB, free: 2.441 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.7001, allocations: 8 kB / 1.042 GB, free: 2.434 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.7001, allocations: 7.984 kB / 1.042 GB, free: 2.426 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/0.7008, allocations: 158.4 kB / 1.042 GB, free: 2.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.7014, allocations: 147.8 kB / 1.042 GB, free: 2.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.7025, allocations: 1.716 MB / 1.044 GB, free: 332 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/0.7031, allocations: 95.44 kB / 1.044 GB, free: 236 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.7032, allocations: 31.98 kB / 1.044 GB, free: 204 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * 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.0003677/0.7036, allocations: 265.6 kB / 1.044 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.7037, allocations: 110.6 kB / 1.044 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.7056, allocations: 0.7309 MB / 1.045 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.7056, allocations: 11.92 kB / 1.045 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7056, allocations: 0 / 1.045 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7057, allocations: 0 / 1.045 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.7084, allocations: 1.652 MB / 1.046 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.7084, allocations: 8 kB / 1.046 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.7089, allocations: 88.03 kB / 1.046 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005593/0.7095, allocations: 158.4 kB / 1.047 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.7095, allocations: 12 kB / 1.047 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.7106, allocations: 1.712 MB / 1.048 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7106, allocations: 7.922 kB / 1.048 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.7122, allocations: 0.7841 MB / 1.049 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.7125, allocations: 247.5 kB / 1.049 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.7126, allocations: 11.98 kB / 1.049 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/0.7132, allocations: 39.95 kB / 1.049 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.7133, allocations: 47.83 kB / 1.049 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.7134, allocations: 15.98 kB / 1.049 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007876/0.7142, allocations: 0.658 MB / 1.05 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7142, allocations: 0 / 1.05 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009495/0.7151, allocations: 371.2 kB / 1.05 GB, free: 9.031 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.002503/0.7176, allocations: 1.641 MB / 1.052 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.7192, allocations: 0.5808 MB / 1.053 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7193, allocations: 0 / 1.053 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008526/0.7201, allocations: 304.2 kB / 1.053 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.7224, allocations: 0.524 MB / 1.053 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.7332, allocations: 7.75 MB / 1.061 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.7338, allocations: 1.103 MB / 1.062 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006783/0.7345, allocations: 194.9 kB / 1.062 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004671/0.7349, allocations: 415.3 kB / 1.063 GB, free: 12 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.7349, allocations: 4 kB / 1.063 GB, free: 12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05438/0.7893, allocations: 29.26 MB / 1.091 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.19, allocations: 9.828 kB / 1.091 GB, free: 15.17 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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