Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001897/0.001897, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002567/0.002567, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.915/2.915, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_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.002106/0.002106, allocations: 69.72 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3576, allocations: 169.9 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.06552/0.4232, allocations: 50.85 MB / 1.333 GB, free: 8.695 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02445/0.4476, allocations: 12.75 MB / 1.345 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003677/0.4513, allocations: 107.1 kB / 1.346 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.4541, allocations: 0.7877 MB / 1.346 GB, free: 11.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006501/0.4606, allocations: 1.967 MB / 1.348 GB, free: 9.043 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004963/0.4655, allocations: 1.444 MB / 1.35 GB, free: 7.617 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006332/0.4719, allocations: 3.317 MB / 1.353 GB, free: 4.289 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.4742, allocations: 0.9738 MB / 1.354 GB, free: 3.281 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/0.4784, allocations: 1.362 MB / 1.355 GB, free: 1.926 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.4805, allocations: 0.9759 MB / 1.356 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004245/0.4809, allocations: 96 kB / 1.356 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.4841, allocations: 1.177 MB / 1.357 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005858/0.4847, allocations: 306.6 kB / 1.358 GB, free: 15.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.4859, allocations: 0.6839 MB / 1.358 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004359/0.4903, allocations: 2.063 MB / 1.36 GB, free: 12.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4903, allocations: 0 / 1.36 GB, free: 12.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4903, allocations: 0 / 1.36 GB, free: 12.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.777e-05/0.4904, allocations: 0 / 1.36 GB, free: 12.61 MB / 1.061 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.003657/0.494, allocations: 1.675 MB / 1.362 GB, free: 10.9 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4941, allocations: 16.03 kB / 1.362 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002312/0.4943, allocations: 131.4 kB / 1.362 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000851/0.4952, allocations: 223.9 kB / 1.362 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/0.4978, allocations: 1.03 MB / 1.363 GB, free: 9.449 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/0.4979, allocations: 70.12 kB / 1.363 GB, free: 9.383 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.498, allocations: 84 kB / 1.364 GB, free: 9.301 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.5, allocations: 1.003 MB / 1.364 GB, free: 8.215 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.5, allocations: 3.938 kB / 1.365 GB, free: 8.211 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/0.5001, allocations: 40 kB / 1.365 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.5001, allocations: 20 kB / 1.365 GB, free: 8.152 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.5016, allocations: 0.6516 MB / 1.365 GB, free: 7.504 MB / 1.061 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.005951/0.5076, allocations: 4.673 MB / 1.37 GB, free: 2.562 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.5087, allocations: 378.6 kB / 1.37 GB, free: 2.184 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005411/0.5093, allocations: 201.2 kB / 1.37 GB, free: 1.984 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/0.5097, allocations: 107.9 kB / 1.37 GB, free: 1.879 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.5098, allocations: 34.56 kB / 1.37 GB, free: 1.836 MB / 1.061 GB Notification: Performance of pre-optimization done (n=29): time 2.355e-06/0.5098, allocations: 3.938 kB / 1.37 GB, free: 1.832 MB / 1.061 GB Notification: Performance of matching and sorting (n=29): time 0.002941/0.5127, allocations: 0.8485 MB / 1.371 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.5128, allocations: 59.34 kB / 1.371 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.5142, allocations: 0.9794 MB / 1.372 GB, free: 15.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.5142, allocations: 29.7 kB / 1.372 GB, free: 15.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005154/0.5148, allocations: 0.6018 MB / 1.373 GB, free: 15.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.5149, allocations: 111 kB / 1.373 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.515, allocations: 114.1 kB / 1.373 GB, free: 15.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5152, allocations: 326 kB / 1.373 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.5158, allocations: 200.8 kB / 1.374 GB, free: 14.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/0.5165, allocations: 405.9 kB / 1.374 GB, free: 14.04 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.5177, allocations: 0.6019 MB / 1.375 GB, free: 13.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.5178, allocations: 4 kB / 1.375 GB, free: 13.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001804/0.5196, allocations: 0.7611 MB / 1.375 GB, free: 12.56 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5196, allocations: 8 kB / 1.375 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.5196, allocations: 8 kB / 1.375 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007176/0.5203, allocations: 162.4 kB / 1.376 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.5209, allocations: 143.8 kB / 1.376 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.5223, allocations: 1.719 MB / 1.377 GB, free: 10.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007512/0.5231, allocations: 83.48 kB / 1.377 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.115e-05/0.5231, allocations: 36.36 kB / 1.377 GB, free: 10.32 MB / 1.076 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.0004891/0.5236, allocations: 276 kB / 1.378 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.5239, allocations: 123.2 kB / 1.378 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.5258, allocations: 0.7235 MB / 1.379 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.5258, allocations: 7.938 kB / 1.379 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5258, allocations: 0 / 1.379 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5258, allocations: 0 / 1.379 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/0.5292, allocations: 1.616 MB / 1.38 GB, free: 7.488 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5292, allocations: 4 kB / 1.38 GB, free: 7.484 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.5297, allocations: 88.03 kB / 1.38 GB, free: 7.398 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006024/0.5303, allocations: 154.4 kB / 1.38 GB, free: 7.238 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.5304, allocations: 8 kB / 1.38 GB, free: 7.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.5317, allocations: 1.712 MB / 1.382 GB, free: 5.441 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5317, allocations: 7.875 kB / 1.382 GB, free: 5.434 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.5335, allocations: 0.7884 MB / 1.383 GB, free: 4.602 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.534, allocations: 171.1 kB / 1.383 GB, free: 4.434 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.5341, allocations: 8 kB / 1.383 GB, free: 4.426 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.5347, allocations: 43.95 kB / 1.383 GB, free: 4.383 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.5348, allocations: 31.88 kB / 1.383 GB, free: 4.352 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/0.5349, allocations: 23.98 kB / 1.383 GB, free: 4.328 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001043/0.5359, allocations: 0.6658 MB / 1.384 GB, free: 3.656 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5359, allocations: 4 kB / 1.384 GB, free: 3.652 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00119/0.5371, allocations: 390.9 kB / 1.384 GB, free: 3.27 MB / 1.076 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.002715/0.5398, allocations: 1.601 MB / 1.386 GB, free: 1.613 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.5415, allocations: 0.5447 MB / 1.386 GB, free: 1.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5415, allocations: 8 kB / 1.386 GB, free: 1.062 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000837/0.5423, allocations: 276.2 kB / 1.386 GB, free: 0.793 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/0.5449, allocations: 0.517 MB / 1.387 GB, free: 292 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.5582, allocations: 7.349 MB / 1.394 GB, free: 8.594 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008205/0.559, allocations: 1.107 MB / 1.395 GB, free: 7.461 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000792/0.5598, allocations: 192.1 kB / 1.395 GB, free: 7.27 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/0.5604, allocations: 419.3 kB / 1.396 GB, free: 6.863 MB / 1.092 GB Notification: Performance of SimCode: time 1.203e-06/0.5604, allocations: 0 / 1.396 GB, free: 6.863 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0811/0.6415, allocations: 30.03 MB / 1.425 GB, free: 9.262 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.61, allocations: 6.344 kB / 1.425 GB, free: 9.258 MB / 1.123 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.659417574992403]