Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001198/0.001198, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001373/0.001373, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.306/1.306, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.947/2.947, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_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.001936/0.001936, allocations: 67.88 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3243, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04926/0.3736, allocations: 45.88 MB / 1.408 GB, free: 56 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.3923, allocations: 11.87 MB / 1.42 GB, free: 4.156 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.3948, allocations: 111.1 kB / 1.42 GB, free: 4.047 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.3967, allocations: 0.7526 MB / 1.421 GB, free: 3.289 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005884/0.4026, allocations: 1.94 MB / 1.423 GB, free: 1.34 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.4062, allocations: 1.39 MB / 1.424 GB, free: 15.96 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00473/0.411, allocations: 3.295 MB / 1.427 GB, free: 12.66 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.4125, allocations: 0.9581 MB / 1.428 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.4165, allocations: 1.539 MB / 1.43 GB, free: 10.13 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.4183, allocations: 0.925 MB / 1.43 GB, free: 9.203 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003184/0.4186, allocations: 96 kB / 1.431 GB, free: 9.109 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.421, allocations: 0.885 MB / 1.431 GB, free: 8.223 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000444/0.4214, allocations: 306.6 kB / 1.432 GB, free: 7.922 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007627/0.4222, allocations: 0.5597 MB / 1.432 GB, free: 7.359 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.4251, allocations: 2.016 MB / 1.434 GB, free: 5.336 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4251, allocations: 0 / 1.434 GB, free: 5.336 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4251, allocations: 3.938 kB / 1.434 GB, free: 5.332 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.4251, allocations: 0 / 1.434 GB, free: 5.332 MB / 1.123 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.002527/0.4276, allocations: 1.667 MB / 1.436 GB, free: 3.625 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4276, allocations: 12.03 kB / 1.436 GB, free: 3.613 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.4278, allocations: 131.4 kB / 1.436 GB, free: 3.477 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006413/0.4284, allocations: 223.9 kB / 1.436 GB, free: 3.258 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.4305, allocations: 1.045 MB / 1.437 GB, free: 2.164 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/0.4305, allocations: 66.12 kB / 1.437 GB, free: 2.102 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.4306, allocations: 84 kB / 1.437 GB, free: 2.02 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.4324, allocations: 1.141 MB / 1.438 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.4324, allocations: 3.938 kB / 1.438 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.4325, allocations: 39.98 kB / 1.439 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.4325, allocations: 20 kB / 1.439 GB, free: 0.7031 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.434, allocations: 0.6438 MB / 1.439 GB, free: 64 kB / 1.123 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.004885/0.4388, allocations: 3.934 MB / 1.443 GB, free: 11.99 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.44, allocations: 394.5 kB / 1.443 GB, free: 11.6 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.4405, allocations: 196.7 kB / 1.444 GB, free: 11.4 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004004/0.4409, allocations: 103.9 kB / 1.444 GB, free: 11.3 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4409, allocations: 38.56 kB / 1.444 GB, free: 11.25 MB / 1.139 GB Notification: Performance of pre-optimization done (n=29): time 2.033e-06/0.4409, allocations: 0 / 1.444 GB, free: 11.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=29): time 0.002663/0.4436, allocations: 0.8509 MB / 1.445 GB, free: 10.39 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.4436, allocations: 55.34 kB / 1.445 GB, free: 10.32 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.4448, allocations: 0.991 MB / 1.446 GB, free: 9.316 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.4448, allocations: 29.7 kB / 1.446 GB, free: 9.281 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/0.4453, allocations: 0.6018 MB / 1.446 GB, free: 8.676 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4454, allocations: 111 kB / 1.446 GB, free: 8.566 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.4456, allocations: 114.1 kB / 1.446 GB, free: 8.449 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4457, allocations: 322 kB / 1.447 GB, free: 8.129 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.4462, allocations: 204.8 kB / 1.447 GB, free: 7.93 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007704/0.447, allocations: 0.5468 MB / 1.447 GB, free: 7.262 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.4482, allocations: 0.6028 MB / 1.448 GB, free: 6.57 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.4482, allocations: 0 / 1.448 GB, free: 6.57 MB / 1.139 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001598/0.4498, allocations: 0.7606 MB / 1.449 GB, free: 5.793 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4498, allocations: 8 kB / 1.449 GB, free: 5.785 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4498, allocations: 11.98 kB / 1.449 GB, free: 5.773 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006518/0.4504, allocations: 158.9 kB / 1.449 GB, free: 5.609 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.451, allocations: 143.8 kB / 1.449 GB, free: 5.469 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.4522, allocations: 1.716 MB / 1.451 GB, free: 3.676 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.4528, allocations: 91.41 kB / 1.451 GB, free: 3.586 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/0.4529, allocations: 31.98 kB / 1.451 GB, free: 3.555 MB / 1.139 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.0003845/0.4533, allocations: 265.9 kB / 1.451 GB, free: 3.285 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.4534, allocations: 123.2 kB / 1.451 GB, free: 3.164 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.4552, allocations: 0.7122 MB / 1.452 GB, free: 2.43 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.4552, allocations: 11.92 kB / 1.452 GB, free: 2.418 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4552, allocations: 7.984 kB / 1.452 GB, free: 2.41 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4552, allocations: 0 / 1.452 GB, free: 2.41 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.458, allocations: 1.539 MB / 1.453 GB, free: 0.8008 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.458, allocations: 4 kB / 1.453 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.4585, allocations: 100 kB / 1.454 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000554/0.459, allocations: 146.4 kB / 1.454 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.459, allocations: 11.98 kB / 1.454 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.4603, allocations: 1.704 MB / 1.455 GB, free: 14.75 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.4603, allocations: 7.969 kB / 1.455 GB, free: 14.75 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.4621, allocations: 0.7846 MB / 1.456 GB, free: 13.92 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/0.4625, allocations: 179.1 kB / 1.456 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.4626, allocations: 8 kB / 1.456 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.4632, allocations: 55.88 kB / 1.456 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/0.4633, allocations: 27.89 kB / 1.456 GB, free: 13.65 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.4633, allocations: 19.98 kB / 1.456 GB, free: 13.63 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001083/0.4644, allocations: 0.6658 MB / 1.457 GB, free: 12.96 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4644, allocations: 4 kB / 1.457 GB, free: 12.96 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001265/0.4657, allocations: 386.9 kB / 1.457 GB, free: 12.58 MB / 1.154 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.002696/0.4684, allocations: 1.611 MB / 1.459 GB, free: 10.91 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.47, allocations: 0.536 MB / 1.46 GB, free: 10.38 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.47, allocations: 4 kB / 1.46 GB, free: 10.38 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007744/0.4708, allocations: 279.9 kB / 1.46 GB, free: 10.1 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.4731, allocations: 0.5173 MB / 1.46 GB, free: 9.594 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.4854, allocations: 7.349 MB / 1.467 GB, free: 1.906 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.486, allocations: 0.5138 MB / 1.468 GB, free: 1.359 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007267/0.4867, allocations: 184.2 kB / 1.468 GB, free: 1.176 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/0.4873, allocations: 419.3 kB / 1.469 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of SimCode: time 9.92e-07/0.4873, allocations: 0 / 1.469 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07276/0.56, allocations: 31.83 MB / 1.5 GB, free: 1.551 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.88, allocations: 6.125 kB / 1.5 GB, free: 1.547 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.011995438952]