Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_10_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.0009449/0.000945, allocations: 90.52 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.007606/0.007606, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.277/2.277, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003125, allocations: 15.98 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5732/0.5735, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.03977/0.6133, allocations: 48.46 MB / 1.07 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.6276, allocations: 12.58 MB / 1.083 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009263/0.6285, allocations: 63.56 kB / 1.083 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.6297, allocations: 0.6174 MB / 1.083 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.6325, allocations: 1.704 MB / 1.085 GB, free: 216 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.6348, allocations: 1.215 MB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003477/0.6383, allocations: 4.372 MB / 1.091 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.6394, allocations: 1.029 MB / 1.092 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.6406, allocations: 1.069 MB / 1.093 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008443/0.6415, allocations: 0.9055 MB / 1.093 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.803e-05/0.6416, allocations: 40 kB / 1.093 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.6431, allocations: 1.033 MB / 1.094 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.6433, allocations: 222.9 kB / 1.095 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.6438, allocations: 0.6231 MB / 1.095 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.6454, allocations: 1.873 MB / 1.097 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.6454, allocations: 0 / 1.097 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6454, allocations: 0 / 1.097 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.6454, allocations: 0 / 1.097 GB, free: 3.77 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00188/0.6473, allocations: 1.479 MB / 1.099 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.6474, allocations: 12.03 kB / 1.099 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.6475, allocations: 135.4 kB / 1.099 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.648, allocations: 219.1 kB / 1.099 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.6496, allocations: 1.092 MB / 1.1 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.6499, allocations: 130.1 kB / 1.1 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.47e-05/0.65, allocations: 83.94 kB / 1.1 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.6516, allocations: 1.008 MB / 1.101 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.6516, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.6517, allocations: 40 kB / 1.101 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.6517, allocations: 24 kB / 1.101 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.6531, allocations: 0.6868 MB / 1.102 GB, free: 14.69 MB / 0.8575 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.004139/0.6573, allocations: 4.453 MB / 1.106 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.6584, allocations: 436.4 kB / 1.107 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005394/0.659, allocations: 244.6 kB / 1.107 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000723/0.6597, allocations: 1.152 MB / 1.108 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.6597, allocations: 30.56 kB / 1.108 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 1.362e-06/0.6597, allocations: 4 kB / 1.108 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.002651/0.6624, allocations: 1.154 MB / 1.109 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.6624, allocations: 55.41 kB / 1.109 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009287/0.6634, allocations: 0.9317 MB / 1.11 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.6634, allocations: 33.7 kB / 1.11 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.6638, allocations: 0.5773 MB / 1.111 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.6639, allocations: 110.5 kB / 1.111 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.6639, allocations: 49.64 kB / 1.111 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.664, allocations: 322 kB / 1.111 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.6646, allocations: 212.9 kB / 1.111 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.6652, allocations: 402.9 kB / 1.112 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.6664, allocations: 0.6082 MB / 1.112 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6664, allocations: 0 / 1.112 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001482/0.6679, allocations: 0.7639 MB / 1.113 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.6679, allocations: 5.094 kB / 1.113 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6679, allocations: 8.719 kB / 1.113 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/0.6685, allocations: 166.3 kB / 1.113 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.6691, allocations: 155.9 kB / 1.113 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009039/0.67, allocations: 1.723 MB / 1.115 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.6706, allocations: 123.4 kB / 1.115 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.6707, allocations: 27.98 kB / 1.115 GB, free: 80 kB / 0.8575 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.0003071/0.671, allocations: 265.6 kB / 1.116 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.6711, allocations: 110.6 kB / 1.116 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.6728, allocations: 0.7547 MB / 1.116 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.6728, allocations: 7.938 kB / 1.116 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6729, allocations: 0 / 1.116 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.6729, allocations: 3.984 kB / 1.116 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.6754, allocations: 1.679 MB / 1.118 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6754, allocations: 0 / 1.118 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.6759, allocations: 112 kB / 1.118 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/0.6764, allocations: 150.4 kB / 1.118 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.6764, allocations: 12 kB / 1.118 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000858/0.6773, allocations: 1.708 MB / 1.12 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6773, allocations: 4.031 kB / 1.12 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.6787, allocations: 0.8268 MB / 1.121 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.679, allocations: 235.6 kB / 1.121 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.6791, allocations: 12 kB / 1.121 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006282/0.6797, allocations: 91.77 kB / 1.121 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.6798, allocations: 39.77 kB / 1.121 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.6799, allocations: 19.98 kB / 1.121 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006556/0.6805, allocations: 0.6381 MB / 1.122 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6805, allocations: 4 kB / 1.122 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007217/0.6812, allocations: 355.2 kB / 1.122 GB, free: 8.816 MB / 0.8731 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.002227/0.6835, allocations: 1.654 MB / 1.124 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.6849, allocations: 0.5799 MB / 1.124 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6849, allocations: 0 / 1.124 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007691/0.6857, allocations: 319.9 kB / 1.125 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.688, allocations: 0.4989 MB / 1.125 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.6985, allocations: 8.068 MB / 1.133 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.6991, allocations: 1.099 MB / 1.134 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005804/0.6997, allocations: 183.9 kB / 1.134 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.7002, allocations: 419.3 kB / 1.135 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/0.7002, allocations: 0 / 1.135 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5132/1.213, allocations: 27.27 MB / 1.161 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004099/1.214, allocations: 288.6 kB / 1.162 GB, free: 308 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.875, allocations: 0 / 1.162 GB, free: 308 kB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches