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.007281/0.007281, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001723/0.001723, allocations: 195.3 kB / 16.67 MB, free: 5.52 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.478/2.478, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7595, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04963/0.8092, allocations: 49.79 MB / 1.215 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.8267, allocations: 12.69 MB / 1.227 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.829, allocations: 75.56 kB / 1.227 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.8311, allocations: 0.7565 MB / 1.228 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004647/0.8358, allocations: 1.819 MB / 1.23 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.8392, allocations: 1.364 MB / 1.231 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003998/0.8432, allocations: 3.249 MB / 1.234 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.8451, allocations: 1.252 MB / 1.235 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.8482, allocations: 1.314 MB / 1.237 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.8498, allocations: 0.9252 MB / 1.238 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003225/0.8501, allocations: 96 kB / 1.238 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.8526, allocations: 1.068 MB / 1.239 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004389/0.853, allocations: 282.8 kB / 1.239 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.8542, allocations: 0.6761 MB / 1.24 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003522/0.8577, allocations: 1.951 MB / 1.242 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8577, allocations: 4 kB / 1.242 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8577, allocations: 0 / 1.242 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.101e-05/0.8578, allocations: 0 / 1.242 GB, free: 6.246 MB / 0.9669 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.003279/0.8611, allocations: 1.701 MB / 1.243 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8611, allocations: 8.625 kB / 1.243 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.8613, allocations: 135.4 kB / 1.243 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000711/0.8621, allocations: 207 kB / 1.244 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.8644, allocations: 1.1 MB / 1.245 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.48e-05/0.8645, allocations: 70.11 kB / 1.245 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.8646, allocations: 84 kB / 1.245 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.8664, allocations: 1.003 MB / 1.246 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.8665, allocations: 0 / 1.246 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/0.8666, allocations: 40 kB / 1.246 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.8666, allocations: 24 kB / 1.246 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.8681, allocations: 0.6477 MB / 1.247 GB, free: 1.039 MB / 0.9669 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.005687/0.8738, allocations: 4.728 MB / 1.251 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.8751, allocations: 397.4 kB / 1.252 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/0.8757, allocations: 224.7 kB / 1.252 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.8768, allocations: 1.148 MB / 1.253 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.8768, allocations: 34.56 kB / 1.253 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=29): time 2.344e-06/0.8768, allocations: 0 / 1.253 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29): time 0.002908/0.8797, allocations: 1.072 MB / 1.254 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.8798, allocations: 63.34 kB / 1.254 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.8812, allocations: 0.9753 MB / 1.255 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.8813, allocations: 33.7 kB / 1.255 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/0.8818, allocations: 0.589 MB / 1.256 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.8819, allocations: 106.4 kB / 1.256 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.8821, allocations: 114 kB / 1.256 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8822, allocations: 322 kB / 1.256 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.8828, allocations: 204.9 kB / 1.256 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006929/0.8835, allocations: 402.3 kB / 1.257 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.8847, allocations: 0.6144 MB / 1.257 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.8847, allocations: 4 kB / 1.257 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001704/0.8864, allocations: 0.7558 MB / 1.258 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.8865, allocations: 8 kB / 1.258 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.8865, allocations: 4.844 kB / 1.258 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006959/0.8872, allocations: 158.4 kB / 1.258 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.8878, allocations: 151.8 kB / 1.258 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.889, allocations: 1.716 MB / 1.26 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/0.8897, allocations: 83.33 kB / 1.26 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.8898, allocations: 28 kB / 1.26 GB, free: 2.203 MB / 0.9825 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.0004588/0.8903, allocations: 273.7 kB / 1.26 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.8905, allocations: 114.5 kB / 1.26 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.8923, allocations: 0.7041 MB / 1.261 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.8924, allocations: 11.94 kB / 1.261 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8924, allocations: 0 / 1.261 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.8924, allocations: 3.984 kB / 1.261 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.8955, allocations: 1.636 MB / 1.263 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.8956, allocations: 4 kB / 1.263 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.896, allocations: 92.03 kB / 1.263 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000672/0.8967, allocations: 146.6 kB / 1.263 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.8968, allocations: 16 kB / 1.263 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.8982, allocations: 1.712 MB / 1.265 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8982, allocations: 4.188 kB / 1.265 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.9, allocations: 0.784 MB / 1.265 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.9004, allocations: 239.6 kB / 1.266 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.9006, allocations: 11.98 kB / 1.266 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006191/0.9012, allocations: 43.95 kB / 1.266 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.9013, allocations: 35.83 kB / 1.266 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.9013, allocations: 23.98 kB / 1.266 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009842/0.9023, allocations: 0.658 MB / 1.266 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9023, allocations: 0 / 1.266 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001116/0.9034, allocations: 379.1 kB / 1.267 GB, free: 11.07 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.00275/0.9062, allocations: 1.633 MB / 1.268 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.9078, allocations: 0.5478 MB / 1.269 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9078, allocations: 0 / 1.269 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008112/0.9086, allocations: 292 kB / 1.269 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.911, allocations: 0.5204 MB / 1.27 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.9227, allocations: 7.289 MB / 1.277 GB, free: 436 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.9235, allocations: 1.103 MB / 1.278 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006559/0.9241, allocations: 187.9 kB / 1.278 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/0.9246, allocations: 419.3 kB / 1.278 GB, free: 14.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.022e-06/0.9246, allocations: 4 kB / 1.278 GB, free: 14.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0623/0.987, allocations: 29.52 MB / 1.307 GB, free: 1.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.97, allocations: 10.23 kB / 1.307 GB, free: 1.535 MB / 1.029 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