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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001415/0.001415, allocations: 108.6 kB / 15.73 MB, free: 76 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.001406/0.001406, allocations: 187.4 kB / 16.66 MB, free: 6.59 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.369/2.369, allocations: 437.1 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2692, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04984/0.319, allocations: 49.78 MB / 1.215 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.3362, allocations: 12.68 MB / 1.227 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.3383, allocations: 79.56 kB / 1.227 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.3401, allocations: 0.7526 MB / 1.228 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004365/0.3445, allocations: 1.834 MB / 1.23 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.3475, allocations: 1.361 MB / 1.231 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003998/0.3515, allocations: 3.252 MB / 1.234 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.3531, allocations: 1.254 MB / 1.236 GB, free: 60 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.3559, allocations: 1.303 MB / 1.237 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.357, allocations: 0.9331 MB / 1.238 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.3571, allocations: 96 kB / 1.238 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.3592, allocations: 1.064 MB / 1.239 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.3595, allocations: 290.8 kB / 1.239 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.3601, allocations: 0.6684 MB / 1.24 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.3625, allocations: 1.973 MB / 1.242 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3625, allocations: 0 / 1.242 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3625, allocations: 0 / 1.242 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.3625, allocations: 0 / 1.242 GB, free: 9.727 MB / 0.9981 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.002341/0.3649, allocations: 1.742 MB / 1.243 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3649, allocations: 12.03 kB / 1.243 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.3651, allocations: 135.4 kB / 1.244 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005448/0.3656, allocations: 215.9 kB / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.3674, allocations: 1.105 MB / 1.245 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.3675, allocations: 70.12 kB / 1.245 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.994e-05/0.3676, allocations: 80 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.3692, allocations: 1.003 MB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.3692, allocations: 7.938 kB / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/0.3693, allocations: 40 kB / 1.246 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.3693, allocations: 27.98 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.3707, allocations: 0.6438 MB / 1.247 GB, free: 4.457 MB / 0.9981 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.4514/0.8221, allocations: 4.723 MB / 1.251 GB, free: 82.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.8232, allocations: 395 kB / 1.252 GB, free: 82.55 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.8237, allocations: 219.2 kB / 1.252 GB, free: 82.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/0.8242, allocations: 1.148 MB / 1.253 GB, free: 81.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.8243, allocations: 36.88 kB / 1.253 GB, free: 81.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.8243, allocations: 0 / 1.253 GB, free: 81.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002583/0.8269, allocations: 1.087 MB / 1.254 GB, free: 80.85 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.8269, allocations: 58.94 kB / 1.254 GB, free: 80.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.828, allocations: 0.9755 MB / 1.255 GB, free: 80.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.8281, allocations: 33.17 kB / 1.255 GB, free: 80.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.8284, allocations: 0.5934 MB / 1.256 GB, free: 80.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.8285, allocations: 117.4 kB / 1.256 GB, free: 80.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.8286, allocations: 112 kB / 1.256 GB, free: 80.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.8287, allocations: 328.9 kB / 1.256 GB, free: 79.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.8292, allocations: 199.1 kB / 1.256 GB, free: 79.94 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.8298, allocations: 411 kB / 1.257 GB, free: 79.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.8308, allocations: 0.5971 MB / 1.257 GB, free: 79.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.8308, allocations: 2.609 kB / 1.257 GB, free: 79.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001475/0.8323, allocations: 0.7605 MB / 1.258 GB, free: 79.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.8324, allocations: 8.953 kB / 1.258 GB, free: 79.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.8324, allocations: 6.469 kB / 1.258 GB, free: 79.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.833, allocations: 162.3 kB / 1.258 GB, free: 78.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.8335, allocations: 144.9 kB / 1.258 GB, free: 78.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000691/0.8342, allocations: 1.721 MB / 1.26 GB, free: 77.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.8348, allocations: 90.34 kB / 1.26 GB, free: 77.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.8349, allocations: 29.77 kB / 1.26 GB, free: 77.28 MB / 0.9981 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.0002943/0.8352, allocations: 267.4 kB / 1.26 GB, free: 77.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.8353, allocations: 115.6 kB / 1.261 GB, free: 77.03 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.8369, allocations: 0.7218 MB / 1.261 GB, free: 76.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.8369, allocations: 5.234 kB / 1.261 GB, free: 76.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.837, allocations: 2.75 kB / 1.261 GB, free: 76.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.837, allocations: 2.688 kB / 1.261 GB, free: 76.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.8396, allocations: 1.641 MB / 1.263 GB, free: 75.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.8396, allocations: 4.75 kB / 1.263 GB, free: 75.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.84, allocations: 87.3 kB / 1.263 GB, free: 75.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004957/0.8405, allocations: 152.6 kB / 1.263 GB, free: 75.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.8405, allocations: 11.48 kB / 1.263 GB, free: 75.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006527/0.8412, allocations: 1.708 MB / 1.265 GB, free: 74.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.8412, allocations: 2.281 kB / 1.265 GB, free: 74.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.8427, allocations: 0.7878 MB / 1.266 GB, free: 73.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.843, allocations: 255.1 kB / 1.266 GB, free: 73.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.8431, allocations: 8.484 kB / 1.266 GB, free: 73.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.8436, allocations: 45.42 kB / 1.266 GB, free: 73.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.8437, allocations: 31.22 kB / 1.266 GB, free: 73.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.8438, allocations: 21.34 kB / 1.266 GB, free: 73.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000918/0.8447, allocations: 0.6594 MB / 1.267 GB, free: 73.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8447, allocations: 3.969 kB / 1.267 GB, free: 73.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001073/0.8458, allocations: 378.8 kB / 1.267 GB, free: 73.32 MB / 0.9981 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.002127/0.8479, allocations: 1.636 MB / 1.269 GB, free: 72.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.8493, allocations: 0.5452 MB / 1.269 GB, free: 72.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8493, allocations: 1.281 kB / 1.269 GB, free: 72.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007197/0.85, allocations: 289.4 kB / 1.269 GB, free: 72.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.8521, allocations: 0.5261 MB / 1.27 GB, free: 72.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008906/0.861, allocations: 7.325 MB / 1.277 GB, free: 68.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.8614, allocations: 1.11 MB / 1.278 GB, free: 67.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006455/0.8621, allocations: 195.7 kB / 1.278 GB, free: 67.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.8625, allocations: 413.8 kB / 1.279 GB, free: 67.04 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.8625, allocations: 0 / 1.279 GB, free: 67.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.308/2.17, allocations: 29.52 MB / 1.308 GB, free: 58.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.38/21.55, allocations: 10.62 kB / 1.308 GB, free: 58.07 MB / 0.9981 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=400 --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