Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 104.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.094/3.094, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 72.92 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05491/0.382, allocations: 50.49 MB / 1.37 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0214/0.4033, allocations: 12.73 MB / 1.383 GB, free: 3.922 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.406, allocations: 111.1 kB / 1.383 GB, free: 3.812 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.4083, allocations: 0.7799 MB / 1.383 GB, free: 3.027 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005043/0.4133, allocations: 1.916 MB / 1.385 GB, free: 1.102 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.417, allocations: 1.375 MB / 1.387 GB, free: 15.74 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004721/0.4217, allocations: 3.25 MB / 1.39 GB, free: 12.49 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.4236, allocations: 1.043 MB / 1.391 GB, free: 11.41 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/0.4276, allocations: 1.516 MB / 1.392 GB, free: 9.898 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.4291, allocations: 0.9603 MB / 1.393 GB, free: 8.934 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.4294, allocations: 96 kB / 1.393 GB, free: 8.84 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.4319, allocations: 1.142 MB / 1.394 GB, free: 7.695 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004024/0.4323, allocations: 302.7 kB / 1.395 GB, free: 7.398 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008967/0.4332, allocations: 0.6799 MB / 1.395 GB, free: 6.715 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.4367, allocations: 2.074 MB / 1.397 GB, free: 4.633 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4367, allocations: 0 / 1.397 GB, free: 4.633 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4367, allocations: 0 / 1.397 GB, free: 4.633 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.179e-05/0.4367, allocations: 0 / 1.397 GB, free: 4.633 MB / 1.092 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.002804/0.4395, allocations: 1.742 MB / 1.399 GB, free: 2.832 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4396, allocations: 19.92 kB / 1.399 GB, free: 2.812 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.4398, allocations: 143.4 kB / 1.399 GB, free: 2.664 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007505/0.4405, allocations: 231.8 kB / 1.399 GB, free: 2.438 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.4426, allocations: 1.105 MB / 1.401 GB, free: 1.277 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.758e-05/0.4426, allocations: 66.12 kB / 1.401 GB, free: 1.215 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.4427, allocations: 84 kB / 1.401 GB, free: 1.133 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.4445, allocations: 1.003 MB / 1.402 GB, free: 48 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.4446, allocations: 4 kB / 1.402 GB, free: 44 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/0.4446, allocations: 36 kB / 1.402 GB, free: 8 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.4447, allocations: 24.05 kB / 1.402 GB, free: 15.98 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.4462, allocations: 0.6516 MB / 1.402 GB, free: 15.33 MB / 1.107 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.00568/0.4519, allocations: 4.741 MB / 1.407 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.4531, allocations: 374.6 kB / 1.407 GB, free: 9.945 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.4536, allocations: 200.7 kB / 1.408 GB, free: 9.746 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.4547, allocations: 1.144 MB / 1.409 GB, free: 8.344 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.4547, allocations: 38.56 kB / 1.409 GB, free: 8.297 MB / 1.107 GB Notification: Performance of pre-optimization done (n=29): time 3.778e-06/0.4547, allocations: 0 / 1.409 GB, free: 8.297 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.003097/0.4578, allocations: 1.073 MB / 1.41 GB, free: 7.152 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.4579, allocations: 59.34 kB / 1.41 GB, free: 7.082 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.4592, allocations: 0.9755 MB / 1.411 GB, free: 6.094 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.4593, allocations: 33.7 kB / 1.411 GB, free: 6.055 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.4598, allocations: 0.6095 MB / 1.411 GB, free: 5.441 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.4599, allocations: 103.2 kB / 1.412 GB, free: 5.34 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.4601, allocations: 118 kB / 1.412 GB, free: 5.219 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4603, allocations: 330 kB / 1.412 GB, free: 4.891 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.4608, allocations: 197 kB / 1.412 GB, free: 4.695 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/0.4615, allocations: 403.3 kB / 1.413 GB, free: 4.215 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.4628, allocations: 0.5979 MB / 1.413 GB, free: 3.527 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.4628, allocations: 4.062 kB / 1.413 GB, free: 3.523 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00181/0.4646, allocations: 0.7647 MB / 1.414 GB, free: 2.742 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4646, allocations: 4 kB / 1.414 GB, free: 2.738 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.4646, allocations: 8 kB / 1.414 GB, free: 2.73 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007088/0.4653, allocations: 162.8 kB / 1.414 GB, free: 2.562 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.4659, allocations: 147.8 kB / 1.414 GB, free: 2.418 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.4673, allocations: 1.723 MB / 1.416 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/0.4681, allocations: 83.72 kB / 1.416 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/0.4682, allocations: 31.98 kB / 1.416 GB, free: 0.5039 MB / 1.107 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.000519/0.4687, allocations: 267.4 kB / 1.416 GB, free: 240 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.4689, allocations: 119.2 kB / 1.416 GB, free: 120 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/0.4709, allocations: 0.7236 MB / 1.417 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.4709, allocations: 7.938 kB / 1.417 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4709, allocations: 0 / 1.417 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4709, allocations: 4 kB / 1.417 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003085/0.474, allocations: 1.636 MB / 1.419 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.474, allocations: 4 kB / 1.419 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.4745, allocations: 87.83 kB / 1.419 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006589/0.4752, allocations: 154.6 kB / 1.419 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.4752, allocations: 11.98 kB / 1.419 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.4764, allocations: 1.712 MB / 1.421 GB, free: 11.59 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4764, allocations: 0 / 1.421 GB, free: 11.59 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.4781, allocations: 0.7729 MB / 1.421 GB, free: 10.78 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.4786, allocations: 256.2 kB / 1.422 GB, free: 10.51 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.4787, allocations: 4 kB / 1.422 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.4793, allocations: 47.94 kB / 1.422 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.4793, allocations: 35.78 kB / 1.422 GB, free: 10.42 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.4794, allocations: 23.98 kB / 1.422 GB, free: 10.4 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009049/0.4803, allocations: 0.6619 MB / 1.422 GB, free: 9.73 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.4803, allocations: 0 / 1.422 GB, free: 9.73 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00108/0.4814, allocations: 386.9 kB / 1.423 GB, free: 9.352 MB / 1.123 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.002538/0.4839, allocations: 1.606 MB / 1.424 GB, free: 7.695 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.4855, allocations: 0.5204 MB / 1.425 GB, free: 7.176 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4855, allocations: 4 kB / 1.425 GB, free: 7.172 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000835/0.4863, allocations: 280.7 kB / 1.425 GB, free: 6.898 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.4886, allocations: 0.5279 MB / 1.426 GB, free: 6.383 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.5004, allocations: 7.335 MB / 1.433 GB, free: 14.69 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/0.5012, allocations: 1.111 MB / 1.434 GB, free: 13.55 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007303/0.5019, allocations: 188.1 kB / 1.434 GB, free: 13.37 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/0.5024, allocations: 419.3 kB / 1.434 GB, free: 12.96 MB / 1.139 GB Notification: Performance of SimCode: time 1.363e-06/0.5024, allocations: 0 / 1.434 GB, free: 12.96 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0655/0.5679, allocations: 29.61 MB / 1.463 GB, free: 15.79 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.76, allocations: 8.062 kB / 1.463 GB, free: 15.78 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.264552223030478]