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.007564/0.007564, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001896/0.001896, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.549/2.549, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2628, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04619/0.3091, allocations: 49.79 MB / 1.215 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.326, allocations: 12.67 MB / 1.227 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.3281, allocations: 79.56 kB / 1.227 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.33, allocations: 0.776 MB / 1.228 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004557/0.3346, allocations: 1.916 MB / 1.23 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.3378, allocations: 1.37 MB / 1.231 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003838/0.3416, allocations: 3.256 MB / 1.234 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.3431, allocations: 1.258 MB / 1.236 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.3458, allocations: 1.322 MB / 1.237 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.3469, allocations: 0.9253 MB / 1.238 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.3471, allocations: 103.9 kB / 1.238 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.3492, allocations: 1.064 MB / 1.239 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.3495, allocations: 290.8 kB / 1.239 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006248/0.3501, allocations: 0.6761 MB / 1.24 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.3525, allocations: 1.961 MB / 1.242 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3525, allocations: 0 / 1.242 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.81e-07/0.3525, allocations: 0 / 1.242 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.3525, allocations: 0 / 1.242 GB, free: 9.566 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.002399/0.355, allocations: 1.75 MB / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.355, allocations: 8.031 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.3552, allocations: 131.4 kB / 1.244 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005696/0.3557, allocations: 223.9 kB / 1.244 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.3576, allocations: 1.101 MB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.3577, allocations: 70.12 kB / 1.245 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3578, allocations: 84 kB / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.3594, allocations: 1.003 MB / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.3595, allocations: 3.938 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/0.3595, allocations: 40 kB / 1.246 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.3596, allocations: 20 kB / 1.246 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.361, allocations: 0.6438 MB / 1.247 GB, free: 4.301 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.5171/0.8781, allocations: 4.727 MB / 1.251 GB, free: 81.39 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.8795, allocations: 394.4 kB / 1.252 GB, free: 81.37 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/0.8801, allocations: 218.5 kB / 1.252 GB, free: 81.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007465/0.8809, allocations: 1.149 MB / 1.253 GB, free: 80.05 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.8809, allocations: 34.33 kB / 1.253 GB, free: 80.01 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=29): time 2.485e-06/0.8809, allocations: 0 / 1.253 GB, free: 80.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.003005/0.8839, allocations: 1.086 MB / 1.254 GB, free: 79.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.8839, allocations: 54.66 kB / 1.254 GB, free: 79.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.8857, allocations: 0.9813 MB / 1.255 GB, free: 79.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.8857, allocations: 32.14 kB / 1.255 GB, free: 79.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.8862, allocations: 0.6004 MB / 1.256 GB, free: 78.94 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.8864, allocations: 111.6 kB / 1.256 GB, free: 78.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.8866, allocations: 112.1 kB / 1.256 GB, free: 78.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/0.8866, allocations: 328.8 kB / 1.256 GB, free: 78.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.8872, allocations: 197.7 kB / 1.257 GB, free: 78.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/0.888, allocations: 410.6 kB / 1.257 GB, free: 78.15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.8892, allocations: 0.597 MB / 1.257 GB, free: 77.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.8892, allocations: 3.594 kB / 1.257 GB, free: 77.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00175/0.891, allocations: 0.7709 MB / 1.258 GB, free: 77.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.891, allocations: 7.312 kB / 1.258 GB, free: 77.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.891, allocations: 6.25 kB / 1.258 GB, free: 77.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007447/0.8918, allocations: 154.7 kB / 1.258 GB, free: 77.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.8924, allocations: 151.4 kB / 1.259 GB, free: 77.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008008/0.8933, allocations: 1.717 MB / 1.26 GB, free: 75.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006833/0.8939, allocations: 88.59 kB / 1.26 GB, free: 75.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.894, allocations: 30.03 kB / 1.26 GB, free: 75.79 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.0003779/0.8944, allocations: 272 kB / 1.261 GB, free: 75.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.8946, allocations: 114.4 kB / 1.261 GB, free: 75.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.8965, allocations: 0.7322 MB / 1.261 GB, free: 75.26 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.8965, allocations: 9.391 kB / 1.261 GB, free: 75.26 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.8965, allocations: 1.312 kB / 1.261 GB, free: 75.26 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.8965, allocations: 5.812 kB / 1.261 GB, free: 75.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.8996, allocations: 1.633 MB / 1.263 GB, free: 74.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.8996, allocations: 1.5 kB / 1.263 GB, free: 74.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.9001, allocations: 86.62 kB / 1.263 GB, free: 74.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005334/0.9006, allocations: 148.8 kB / 1.263 GB, free: 74.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.9007, allocations: 14.36 kB / 1.263 GB, free: 74.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007303/0.9014, allocations: 1.705 MB / 1.265 GB, free: 72.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.9014, allocations: 2.328 kB / 1.265 GB, free: 72.78 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.9031, allocations: 0.7879 MB / 1.266 GB, free: 72.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.9035, allocations: 255.7 kB / 1.266 GB, free: 72.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.9037, allocations: 7.859 kB / 1.266 GB, free: 72.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.9043, allocations: 46.39 kB / 1.266 GB, free: 72.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.9044, allocations: 31.09 kB / 1.266 GB, free: 72.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.9045, allocations: 22.31 kB / 1.266 GB, free: 72.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001071/0.9055, allocations: 0.6594 MB / 1.267 GB, free: 71.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.71e-07/0.9055, allocations: 0.5625 kB / 1.267 GB, free: 71.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00132/0.9069, allocations: 383.5 kB / 1.267 GB, free: 71.83 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.002801/0.9097, allocations: 1.629 MB / 1.269 GB, free: 70.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.9113, allocations: 0.5502 MB / 1.269 GB, free: 70.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.9113, allocations: 1.25 kB / 1.269 GB, free: 70.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000824/0.9121, allocations: 299.9 kB / 1.269 GB, free: 70.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.9146, allocations: 0.5255 MB / 1.27 GB, free: 70.49 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.9256, allocations: 7.324 MB / 1.277 GB, free: 66.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.9261, allocations: 1.11 MB / 1.278 GB, free: 65.87 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006797/0.9268, allocations: 190.4 kB / 1.278 GB, free: 65.83 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.9272, allocations: 417.5 kB / 1.279 GB, free: 65.51 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.9272, allocations: 0 / 1.279 GB, free: 65.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.056/0.9832, allocations: 29.51 MB / 1.308 GB, free: 56.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.69, allocations: 9.438 kB / 1.308 GB, free: 56.5 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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