Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001446/0.001446, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001599/0.001599, allocations: 214.6 kB / 22.25 MB, free: 4.855 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.33/1.33, allocations: 230.6 MB / 256 MB, free: 7.797 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.954/2.954, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_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.001897/0.001897, allocations: 72.03 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2951, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1738/0.4688, allocations: 151 MB / 1.511 GB, free: 6.551 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006418/0.4753, allocations: 4.039 MB / 1.515 GB, free: 2.504 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005654/0.4758, allocations: 23.81 kB / 1.515 GB, free: 2.48 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009255/0.4768, allocations: 342 kB / 1.515 GB, free: 2.145 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.4796, allocations: 1.282 MB / 1.516 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.4815, allocations: 0.8036 MB / 1.517 GB, free: 60 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002102/0.4836, allocations: 1.715 MB / 1.519 GB, free: 14.34 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006423/0.4843, allocations: 452.2 kB / 1.519 GB, free: 13.89 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.4855, allocations: 0.7863 MB / 1.52 GB, free: 13.1 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.4866, allocations: 0.5626 MB / 1.521 GB, free: 12.54 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.4867, allocations: 68 kB / 1.521 GB, free: 12.47 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.488, allocations: 0.6662 MB / 1.521 GB, free: 11.8 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.4883, allocations: 279.2 kB / 1.522 GB, free: 11.53 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.4887, allocations: 342.6 kB / 1.522 GB, free: 11.2 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.4901, allocations: 1.25 MB / 1.523 GB, free: 9.941 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.4901, allocations: 11.94 kB / 1.523 GB, free: 9.93 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4901, allocations: 0 / 1.523 GB, free: 9.93 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.4902, allocations: 3.938 kB / 1.523 GB, free: 9.926 MB / 1.217 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.001651/0.4918, allocations: 0.9718 MB / 1.524 GB, free: 8.918 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4918, allocations: 11.97 kB / 1.524 GB, free: 8.906 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.492, allocations: 102.5 kB / 1.524 GB, free: 8.797 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009102/0.4929, allocations: 159.5 kB / 1.524 GB, free: 8.641 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.4937, allocations: 490.7 kB / 1.525 GB, free: 8.141 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.4938, allocations: 41.31 kB / 1.525 GB, free: 8.102 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.4938, allocations: 48 kB / 1.525 GB, free: 8.055 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.4951, allocations: 1.007 MB / 1.526 GB, free: 6.945 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.4951, allocations: 0 / 1.526 GB, free: 6.945 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.709e-05/0.4951, allocations: 24 kB / 1.526 GB, free: 6.922 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/0.4952, allocations: 29.31 kB / 1.526 GB, free: 6.891 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009344/0.4961, allocations: 0.5047 MB / 1.526 GB, free: 6.387 MB / 1.217 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.003096/0.4992, allocations: 1.679 MB / 1.528 GB, free: 4.652 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.4997, allocations: 230.8 kB / 1.528 GB, free: 4.418 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.5, allocations: 124.7 kB / 1.528 GB, free: 4.293 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.5, allocations: 7.938 kB / 1.528 GB, free: 4.285 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.5, allocations: 42.56 kB / 1.528 GB, free: 4.234 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.5, allocations: 0 / 1.528 GB, free: 4.234 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.001541/0.5016, allocations: 0.5161 MB / 1.529 GB, free: 3.707 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.5016, allocations: 81.11 kB / 1.529 GB, free: 3.609 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.5023, allocations: 0.5652 MB / 1.53 GB, free: 3.035 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.5023, allocations: 33.64 kB / 1.53 GB, free: 2.996 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.5026, allocations: 347.7 kB / 1.53 GB, free: 2.652 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.5027, allocations: 71.36 kB / 1.53 GB, free: 2.582 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.5028, allocations: 69.98 kB / 1.53 GB, free: 2.508 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.503, allocations: 366.7 kB / 1.53 GB, free: 2.141 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.5032, allocations: 132.6 kB / 1.531 GB, free: 2.012 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.5036, allocations: 240.3 kB / 1.531 GB, free: 1.738 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.5041, allocations: 336.3 kB / 1.531 GB, free: 1.379 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5041, allocations: 0 / 1.531 GB, free: 1.379 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009015/0.505, allocations: 499.2 kB / 1.532 GB, free: 0.8789 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.505, allocations: 7.984 kB / 1.532 GB, free: 0.8711 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5051, allocations: 4 kB / 1.532 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.5054, allocations: 93.94 kB / 1.532 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.5057, allocations: 71.84 kB / 1.532 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.5088, allocations: 3.131 MB / 1.535 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.5093, allocations: 43.62 kB / 1.535 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.5093, allocations: 16 kB / 1.535 GB, free: 13.28 MB / 1.232 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.0002909/0.5096, allocations: 215.2 kB / 1.535 GB, free: 13.06 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5097, allocations: 59.66 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.506e-05/0.5098, allocations: 60.39 kB / 1.535 GB, free: 12.94 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5098, allocations: 4.062 kB / 1.535 GB, free: 12.94 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5098, allocations: 3.938 kB / 1.535 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007481/0.5105, allocations: 0.5267 MB / 1.536 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.5118, allocations: 0.8197 MB / 1.536 GB, free: 11.46 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5118, allocations: 4.062 kB / 1.536 GB, free: 11.46 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.512, allocations: 39.97 kB / 1.537 GB, free: 11.42 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000202/0.5122, allocations: 60.81 kB / 1.537 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5123, allocations: 8 kB / 1.537 GB, free: 11.35 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.514, allocations: 1.709 MB / 1.538 GB, free: 9.523 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.514, allocations: 4.031 kB / 1.538 GB, free: 9.52 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.5146, allocations: 440 kB / 1.539 GB, free: 9.066 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.5149, allocations: 95.55 kB / 1.539 GB, free: 8.973 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.515, allocations: 7.938 kB / 1.539 GB, free: 8.965 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.5154, allocations: 15.98 kB / 1.539 GB, free: 8.949 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.5155, allocations: 19.97 kB / 1.539 GB, free: 8.93 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.5155, allocations: 20.05 kB / 1.539 GB, free: 8.91 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004535/0.516, allocations: 398.8 kB / 1.539 GB, free: 8.523 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.516, allocations: 0 / 1.539 GB, free: 8.523 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006042/0.5166, allocations: 207.7 kB / 1.539 GB, free: 8.32 MB / 1.232 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.001064/0.5176, allocations: 1.019 MB / 1.54 GB, free: 7.262 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008752/0.5185, allocations: 0.5283 MB / 1.541 GB, free: 6.707 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5185, allocations: 0 / 1.541 GB, free: 6.707 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.5189, allocations: 248.1 kB / 1.541 GB, free: 6.453 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.5204, allocations: 371.2 kB / 1.542 GB, free: 6.102 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/0.5264, allocations: 4.469 MB / 1.546 GB, free: 1.465 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.5267, allocations: 314.7 kB / 1.546 GB, free: 1.129 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004168/0.5271, allocations: 104.8 kB / 1.546 GB, free: 1.023 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.5274, allocations: 191.4 kB / 1.546 GB, free: 0.8359 MB / 1.232 GB Notification: Performance of SimCode: time 6.21e-07/0.5274, allocations: 7.938 kB / 1.546 GB, free: 0.8281 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05496/0.5823, allocations: 19.53 MB / 1.566 GB, free: 13.77 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.81, allocations: 7.562 kB / 1.566 GB, free: 13.77 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.883574021980166]