Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001456/0.001456, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001695/0.001695, allocations: 215 kB / 22.26 MB, free: 5.082 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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 2.879/2.879, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001891/0.001891, allocations: 72.45 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2682, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.183/0.4512, allocations: 174.8 MB / 1.497 GB, free: 2.516 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006426/0.4577, allocations: 4.343 MB / 1.501 GB, free: 14.16 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006343/0.4583, allocations: 31.75 kB / 1.501 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.4593, allocations: 369.9 kB / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.4622, allocations: 1.28 MB / 1.502 GB, free: 12.48 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.4641, allocations: 0.8328 MB / 1.503 GB, free: 11.66 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002229/0.4663, allocations: 1.73 MB / 1.505 GB, free: 9.918 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007308/0.4671, allocations: 452.2 kB / 1.505 GB, free: 9.473 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.4685, allocations: 0.7863 MB / 1.506 GB, free: 8.684 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.4699, allocations: 0.5721 MB / 1.507 GB, free: 8.109 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.4701, allocations: 68 kB / 1.507 GB, free: 8.043 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.4718, allocations: 0.8535 MB / 1.508 GB, free: 7.188 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003639/0.4721, allocations: 287.1 kB / 1.508 GB, free: 6.906 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006344/0.4728, allocations: 410.2 kB / 1.508 GB, free: 6.504 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.4747, allocations: 1.265 MB / 1.509 GB, free: 5.234 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4747, allocations: 0 / 1.509 GB, free: 5.234 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4747, allocations: 0 / 1.509 GB, free: 5.234 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.664e-05/0.4747, allocations: 0 / 1.509 GB, free: 5.234 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002049/0.4767, allocations: 0.9835 MB / 1.51 GB, free: 4.215 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4768, allocations: 12.03 kB / 1.51 GB, free: 4.203 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.4769, allocations: 98.52 kB / 1.511 GB, free: 4.098 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009872/0.4779, allocations: 163.4 kB / 1.511 GB, free: 3.938 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009207/0.4788, allocations: 0.4908 MB / 1.511 GB, free: 3.426 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.4789, allocations: 37.31 kB / 1.511 GB, free: 3.391 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.4789, allocations: 52 kB / 1.511 GB, free: 3.34 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.48, allocations: 0.6479 MB / 1.512 GB, free: 2.676 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4801, allocations: 3.938 kB / 1.512 GB, free: 2.672 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.568e-05/0.4801, allocations: 24 kB / 1.512 GB, free: 2.648 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/0.4801, allocations: 21.31 kB / 1.512 GB, free: 2.625 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009372/0.4811, allocations: 0.5126 MB / 1.512 GB, free: 2.109 MB / 1.201 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.003404/0.4845, allocations: 2.254 MB / 1.515 GB, free: 15.69 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.485, allocations: 238.8 kB / 1.515 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.4852, allocations: 125.6 kB / 1.515 GB, free: 15.32 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.4852, allocations: 8.344 kB / 1.515 GB, free: 15.32 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.4853, allocations: 34.56 kB / 1.515 GB, free: 15.27 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.4853, allocations: 0 / 1.515 GB, free: 15.27 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.001546/0.4868, allocations: 0.5239 MB / 1.516 GB, free: 14.74 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.4869, allocations: 81.11 kB / 1.516 GB, free: 14.64 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.4876, allocations: 0.5536 MB / 1.516 GB, free: 14.08 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.4876, allocations: 37.7 kB / 1.516 GB, free: 14.04 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.4879, allocations: 335.8 kB / 1.517 GB, free: 13.7 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.924e-05/0.4879, allocations: 79.31 kB / 1.517 GB, free: 13.62 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.488, allocations: 73.98 kB / 1.517 GB, free: 13.55 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4882, allocations: 362.7 kB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.4885, allocations: 140.4 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.4888, allocations: 222.6 kB / 1.517 GB, free: 12.8 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.4893, allocations: 328.9 kB / 1.518 GB, free: 12.45 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4893, allocations: 0 / 1.518 GB, free: 12.45 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009003/0.4902, allocations: 0.4908 MB / 1.518 GB, free: 11.94 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4902, allocations: 5.562 kB / 1.518 GB, free: 11.94 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4902, allocations: 8.281 kB / 1.518 GB, free: 11.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/0.4905, allocations: 97.64 kB / 1.518 GB, free: 11.83 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.4908, allocations: 67.91 kB / 1.518 GB, free: 11.76 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.4939, allocations: 3.147 MB / 1.521 GB, free: 8.391 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.4943, allocations: 59.67 kB / 1.521 GB, free: 8.332 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.4944, allocations: 15.98 kB / 1.521 GB, free: 8.316 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.4946, allocations: 218.3 kB / 1.522 GB, free: 8.094 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4948, allocations: 55.67 kB / 1.522 GB, free: 8.039 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.4949, allocations: 56.44 kB / 1.522 GB, free: 7.98 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4949, allocations: 4 kB / 1.522 GB, free: 7.977 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4949, allocations: 3.938 kB / 1.522 GB, free: 7.973 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007177/0.4956, allocations: 0.5228 MB / 1.522 GB, free: 7.379 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.4969, allocations: 0.89 MB / 1.523 GB, free: 6.43 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4969, allocations: 64 / 1.523 GB, free: 6.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.4971, allocations: 47.91 kB / 1.523 GB, free: 6.383 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.4973, allocations: 64.81 kB / 1.523 GB, free: 6.316 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.4973, allocations: 0 / 1.523 GB, free: 6.316 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.499, allocations: 1.726 MB / 1.525 GB, free: 4.477 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.499, allocations: 4.031 kB / 1.525 GB, free: 4.473 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.4997, allocations: 436.7 kB / 1.525 GB, free: 4.023 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.4999, allocations: 99.52 kB / 1.525 GB, free: 3.926 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.5, allocations: 7.938 kB / 1.526 GB, free: 3.918 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.5004, allocations: 26 kB / 1.526 GB, free: 3.895 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.5005, allocations: 15.97 kB / 1.526 GB, free: 3.879 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.5005, allocations: 19.98 kB / 1.526 GB, free: 3.859 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004652/0.501, allocations: 394.8 kB / 1.526 GB, free: 3.477 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.501, allocations: 3.938 kB / 1.526 GB, free: 3.473 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006087/0.5016, allocations: 203.8 kB / 1.526 GB, free: 3.273 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/0.5026, allocations: 1.018 MB / 1.527 GB, free: 2.219 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008874/0.5035, allocations: 0.5285 MB / 1.528 GB, free: 1.664 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5035, allocations: 0 / 1.528 GB, free: 1.664 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.5039, allocations: 250.4 kB / 1.528 GB, free: 1.406 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.5055, allocations: 381.1 kB / 1.528 GB, free: 1.047 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006059/0.5115, allocations: 4.465 MB / 1.533 GB, free: 12.41 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.5121, allocations: 0.9015 MB / 1.533 GB, free: 11.48 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000425/0.5125, allocations: 112.8 kB / 1.534 GB, free: 11.37 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.5127, allocations: 191.4 kB / 1.534 GB, free: 11.18 MB / 1.232 GB Notification: Performance of SimCode: time 7.12e-07/0.5127, allocations: 3.938 kB / 1.534 GB, free: 11.18 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05437/0.5671, allocations: 18.15 MB / 1.552 GB, free: 9.379 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.97, allocations: 3.984 kB / 1.552 GB, free: 9.375 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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: 18.92559050489217]