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.005152/0.005152, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001148/0.001148, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.2/2.2, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 72.11 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6839/0.6853, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0524/0.7377, allocations: 49.77 MB / 1.136 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.7568, allocations: 12.68 MB / 1.148 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003393/0.7602, allocations: 83 kB / 1.149 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.7628, allocations: 0.7605 MB / 1.149 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00565/0.7684, allocations: 1.826 MB / 1.151 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004247/0.7727, allocations: 1.356 MB / 1.152 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005745/0.7784, allocations: 3.257 MB / 1.156 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.7808, allocations: 1.257 MB / 1.157 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003802/0.7847, allocations: 1.302 MB / 1.158 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.7866, allocations: 0.9263 MB / 1.159 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.7869, allocations: 96.62 kB / 1.159 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.7898, allocations: 1.074 MB / 1.16 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004904/0.7903, allocations: 293.4 kB / 1.16 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.7916, allocations: 0.6656 MB / 1.161 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003711/0.7953, allocations: 1.953 MB / 1.163 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7953, allocations: 1.219 kB / 1.163 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7953, allocations: 0 / 1.163 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.672e-05/0.7954, allocations: 0 / 1.163 GB, free: 1.309 MB / 0.9044 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.003591/0.799, allocations: 1.697 MB / 1.165 GB, free: 172 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.799, allocations: 10.38 kB / 1.165 GB, free: 172 kB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.7992, allocations: 140.9 kB / 1.165 GB, free: 72 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007407/0.8, allocations: 206.5 kB / 1.165 GB, free: 15.99 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.8022, allocations: 1.089 MB / 1.166 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.8023, allocations: 69 kB / 1.166 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.8025, allocations: 83.41 kB / 1.166 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.8043, allocations: 1.006 MB / 1.167 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.8043, allocations: 3.562 kB / 1.167 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.99e-05/0.8044, allocations: 38.97 kB / 1.167 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.8044, allocations: 19.81 kB / 1.167 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.8061, allocations: 0.6553 MB / 1.168 GB, free: 14.51 MB / 0.92 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.00533/0.8114, allocations: 4.716 MB / 1.172 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.8125, allocations: 401.3 kB / 1.173 GB, free: 10.1 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.8131, allocations: 216.3 kB / 1.173 GB, free: 9.992 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008331/0.8139, allocations: 1.145 MB / 1.174 GB, free: 8.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.814, allocations: 36.72 kB / 1.174 GB, free: 8.602 MB / 0.92 GB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.814, allocations: 0 / 1.174 GB, free: 8.602 MB / 0.92 GB Notification: Performance of matching and sorting (n=29): time 0.002842/0.8168, allocations: 1.075 MB / 1.175 GB, free: 7.887 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.8169, allocations: 62.94 kB / 1.175 GB, free: 7.816 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.8183, allocations: 0.9749 MB / 1.176 GB, free: 7.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.8183, allocations: 36.23 kB / 1.176 GB, free: 7.234 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004569/0.8188, allocations: 0.5908 MB / 1.177 GB, free: 6.711 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.8189, allocations: 116.1 kB / 1.177 GB, free: 6.609 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.8191, allocations: 112.4 kB / 1.177 GB, free: 6.539 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8192, allocations: 323.4 kB / 1.177 GB, free: 6.223 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/0.8198, allocations: 198.1 kB / 1.178 GB, free: 6.129 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/0.8205, allocations: 406.1 kB / 1.178 GB, free: 5.777 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.8218, allocations: 0.5923 MB / 1.179 GB, free: 5.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.8218, allocations: 6.328 kB / 1.179 GB, free: 5.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001762/0.8236, allocations: 0.7576 MB / 1.179 GB, free: 4.914 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.8236, allocations: 7.594 kB / 1.179 GB, free: 4.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.8236, allocations: 6.562 kB / 1.179 GB, free: 4.914 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000683/0.8243, allocations: 166.5 kB / 1.179 GB, free: 4.824 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.8249, allocations: 146.1 kB / 1.18 GB, free: 4.781 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.826, allocations: 1.72 MB / 1.181 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/0.8268, allocations: 83.88 kB / 1.181 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.63e-05/0.8269, allocations: 31.58 kB / 1.181 GB, free: 3.043 MB / 0.92 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.0004061/0.8273, allocations: 268.6 kB / 1.182 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.8275, allocations: 110.4 kB / 1.182 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.8293, allocations: 0.724 MB / 1.182 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.8293, allocations: 7.594 kB / 1.182 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8293, allocations: 1.469 kB / 1.182 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.8293, allocations: 4 kB / 1.182 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/0.8323, allocations: 1.637 MB / 1.184 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.8323, allocations: 1.406 kB / 1.184 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.8328, allocations: 85.84 kB / 1.184 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005468/0.8333, allocations: 151 kB / 1.184 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.8334, allocations: 12.39 kB / 1.184 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.8344, allocations: 1.709 MB / 1.186 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8344, allocations: 2.688 kB / 1.186 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.836, allocations: 0.7802 MB / 1.187 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.8364, allocations: 246.9 kB / 1.187 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.8366, allocations: 6.531 kB / 1.187 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.8372, allocations: 49.75 kB / 1.187 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.8373, allocations: 32.75 kB / 1.187 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.8374, allocations: 24.55 kB / 1.187 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008385/0.8382, allocations: 0.6604 MB / 1.188 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8382, allocations: 0 / 1.188 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001138/0.8394, allocations: 378.7 kB / 1.188 GB, free: 14.14 MB / 0.9356 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.002625/0.842, allocations: 1.625 MB / 1.19 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.8435, allocations: 0.5369 MB / 1.19 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.8435, allocations: 9.281 kB / 1.19 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008101/0.8444, allocations: 302.1 kB / 1.191 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.847, allocations: 0.5205 MB / 1.191 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.8583, allocations: 7.3 MB / 1.198 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.859, allocations: 1.103 MB / 1.199 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006579/0.8596, allocations: 189.8 kB / 1.199 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.8601, allocations: 419.3 kB / 1.2 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of SimCode: time 6.92e-07/0.8601, allocations: 0 / 1.2 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05554/0.9157, allocations: 29.51 MB / 1.229 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.57, allocations: 6.344 kB / 1.229 GB, free: 12.19 MB / 0.9669 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