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.001429/0.001429, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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: 198.2 kB / 16.14 MB, free: 6.641 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.396/2.396, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 67.89 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.5559, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0436/0.5996, allocations: 49.48 MB / 1.065 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01645/0.616, allocations: 12.71 MB / 1.077 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.6184, allocations: 71.56 kB / 1.078 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.6203, allocations: 0.6213 MB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004171/0.6245, allocations: 1.703 MB / 1.08 GB, free: 2 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.6274, allocations: 1.205 MB / 1.081 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004446/0.6318, allocations: 4.371 MB / 1.085 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.6332, allocations: 1.072 MB / 1.086 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.635, allocations: 1.116 MB / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.636, allocations: 0.9563 MB / 1.088 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.6362, allocations: 60 kB / 1.088 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.6383, allocations: 1.048 MB / 1.089 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.6386, allocations: 258.8 kB / 1.09 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005893/0.6392, allocations: 0.637 MB / 1.09 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.6413, allocations: 1.904 MB / 1.092 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6413, allocations: 4 kB / 1.092 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.71e-07/0.6413, allocations: 0 / 1.092 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.6413, allocations: 4 kB / 1.092 GB, free: 5.312 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.002343/0.6437, allocations: 1.701 MB / 1.094 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.6437, allocations: 12.03 kB / 1.094 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.6439, allocations: 135.4 kB / 1.094 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.6444, allocations: 207.1 kB / 1.094 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.6461, allocations: 1.085 MB / 1.095 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.6465, allocations: 122.1 kB / 1.095 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/0.6466, allocations: 80 kB / 1.095 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.6482, allocations: 1 MB / 1.096 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.6482, allocations: 0 / 1.096 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.6483, allocations: 36 kB / 1.096 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.6483, allocations: 24 kB / 1.096 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.6497, allocations: 0.6595 MB / 1.097 GB, free: 80 kB / 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.004574/0.6543, allocations: 4.422 MB / 1.101 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.6554, allocations: 402.6 kB / 1.102 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/0.656, allocations: 220.7 kB / 1.102 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008732/0.6568, allocations: 1.152 MB / 1.103 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.6569, allocations: 34.56 kB / 1.103 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 4.539e-06/0.6569, allocations: 0 / 1.103 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.002749/0.6596, allocations: 1.1 MB / 1.104 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.6597, allocations: 59.41 kB / 1.104 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.6607, allocations: 0.9317 MB / 1.105 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.6608, allocations: 29.7 kB / 1.105 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.6612, allocations: 0.5812 MB / 1.106 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/0.6613, allocations: 106.5 kB / 1.106 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.6615, allocations: 106.1 kB / 1.106 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6616, allocations: 326 kB / 1.106 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.6621, allocations: 197 kB / 1.106 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/0.6627, allocations: 378.9 kB / 1.107 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.6639, allocations: 0.577 MB / 1.107 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6639, allocations: 0 / 1.107 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001546/0.6654, allocations: 0.7329 MB / 1.108 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.6654, allocations: 8 kB / 1.108 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6655, allocations: 4 kB / 1.108 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006616/0.6661, allocations: 166.7 kB / 1.108 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.6667, allocations: 135.8 kB / 1.108 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.6678, allocations: 1.716 MB / 1.11 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.6685, allocations: 107.5 kB / 1.11 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.6686, allocations: 31.98 kB / 1.11 GB, free: 1.695 MB / 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.0005367/0.6692, allocations: 261.6 kB / 1.11 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.6694, allocations: 110.6 kB / 1.111 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.6712, allocations: 0.731 MB / 1.111 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.6713, allocations: 15.91 kB / 1.111 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6713, allocations: 0 / 1.111 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.6713, allocations: 0 / 1.111 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.6744, allocations: 1.64 MB / 1.113 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.6744, allocations: 4 kB / 1.113 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.6749, allocations: 91.84 kB / 1.113 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006375/0.6756, allocations: 154.5 kB / 1.113 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.6756, allocations: 8 kB / 1.113 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.6773, allocations: 1.708 MB / 1.115 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.6773, allocations: 4.031 kB / 1.115 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.6791, allocations: 0.7917 MB / 1.116 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.6795, allocations: 251.5 kB / 1.116 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.6797, allocations: 8 kB / 1.116 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.6803, allocations: 79.91 kB / 1.116 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/0.6804, allocations: 31.84 kB / 1.116 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.6805, allocations: 15.98 kB / 1.116 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009036/0.6814, allocations: 0.6342 MB / 1.117 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6814, allocations: 0 / 1.117 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00113/0.6826, allocations: 363.1 kB / 1.117 GB, free: 10.55 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.002985/0.6855, allocations: 1.619 MB / 1.118 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.6873, allocations: 0.5358 MB / 1.119 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6873, allocations: 0 / 1.119 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008951/0.6882, allocations: 300 kB / 1.119 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.6906, allocations: 0.4959 MB / 1.12 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.7045, allocations: 7.931 MB / 1.128 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008446/0.7054, allocations: 1.099 MB / 1.129 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008171/0.7063, allocations: 179.9 kB / 1.129 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.7068, allocations: 423.3 kB / 1.129 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of SimCode: time 2.304e-06/0.7068, allocations: 0 / 1.129 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/0.8179, allocations: 27.49 MB / 1.156 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.8182, allocations: 292 kB / 1.156 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.309, allocations: 0 / 1.156 GB, free: 2.043 MB / 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