Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001353/0.001353, 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.001613/0.001613, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.793 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.773/2.773, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_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.002067/0.002067, allocations: 67.48 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3068, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1943/0.5011, allocations: 150.9 MB / 1.43 GB, free: 4.949 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00692/0.508, allocations: 4.035 MB / 1.434 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006801/0.5087, allocations: 27.75 kB / 1.434 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.5097, allocations: 338 kB / 1.434 GB, free: 0.5469 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003412/0.5132, allocations: 1.28 MB / 1.435 GB, free: 15.26 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.5155, allocations: 0.8014 MB / 1.436 GB, free: 14.46 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.5182, allocations: 1.726 MB / 1.438 GB, free: 12.73 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009157/0.5191, allocations: 440.3 kB / 1.438 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.5207, allocations: 0.7278 MB / 1.439 GB, free: 11.57 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.5225, allocations: 0.5629 MB / 1.44 GB, free: 11.01 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.5227, allocations: 68 kB / 1.44 GB, free: 10.94 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.5244, allocations: 0.674 MB / 1.44 GB, free: 10.27 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004647/0.5249, allocations: 279.2 kB / 1.441 GB, free: 9.992 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008168/0.5257, allocations: 338.6 kB / 1.441 GB, free: 9.66 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.5281, allocations: 1.257 MB / 1.442 GB, free: 8.398 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5281, allocations: 0 / 1.442 GB, free: 8.398 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5281, allocations: 0 / 1.442 GB, free: 8.398 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.807e-05/0.5281, allocations: 0 / 1.442 GB, free: 8.398 MB / 1.139 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.002521/0.5306, allocations: 0.9835 MB / 1.443 GB, free: 7.379 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.5307, allocations: 8.031 kB / 1.443 GB, free: 7.371 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/0.5309, allocations: 102.5 kB / 1.443 GB, free: 7.262 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.532, allocations: 167.4 kB / 1.443 GB, free: 7.098 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.5333, allocations: 486.8 kB / 1.444 GB, free: 6.598 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.5334, allocations: 41.3 kB / 1.444 GB, free: 6.559 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.5335, allocations: 55.94 kB / 1.444 GB, free: 6.504 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.5352, allocations: 1.003 MB / 1.445 GB, free: 5.398 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5352, allocations: 0 / 1.445 GB, free: 5.398 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/0.5352, allocations: 24 kB / 1.445 GB, free: 5.375 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.842e-05/0.5353, allocations: 29.31 kB / 1.445 GB, free: 5.344 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.5364, allocations: 0.5048 MB / 1.445 GB, free: 4.84 MB / 1.139 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.003913/0.5403, allocations: 1.675 MB / 1.447 GB, free: 3.109 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.5409, allocations: 246.8 kB / 1.447 GB, free: 2.859 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.5411, allocations: 125.3 kB / 1.447 GB, free: 2.734 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.5412, allocations: 4 kB / 1.447 GB, free: 2.73 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.5412, allocations: 42.5 kB / 1.447 GB, free: 2.68 MB / 1.139 GB Notification: Performance of pre-optimization done (n=20): time 2.685e-06/0.5412, allocations: 0 / 1.447 GB, free: 2.68 MB / 1.139 GB Notification: Performance of matching and sorting (n=20): time 0.001743/0.543, allocations: 0.5202 MB / 1.448 GB, free: 2.148 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.543, allocations: 85 kB / 1.448 GB, free: 2.047 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/0.5438, allocations: 0.5574 MB / 1.449 GB, free: 1.48 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.5439, allocations: 33.7 kB / 1.449 GB, free: 1.441 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.5442, allocations: 339.8 kB / 1.449 GB, free: 1.105 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.5442, allocations: 79.34 kB / 1.449 GB, free: 1.027 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.5444, allocations: 73.94 kB / 1.449 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.5446, allocations: 366.7 kB / 1.449 GB, free: 0.582 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.5449, allocations: 128.6 kB / 1.45 GB, free: 468 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.5452, allocations: 244.3 kB / 1.45 GB, free: 184 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006094/0.5458, allocations: 330 kB / 1.45 GB, free: 15.83 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5458, allocations: 0 / 1.45 GB, free: 15.83 MB / 1.154 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001032/0.5469, allocations: 0.491 MB / 1.451 GB, free: 15.32 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.5469, allocations: 11.98 kB / 1.451 GB, free: 15.31 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5469, allocations: 0 / 1.451 GB, free: 15.31 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/0.5473, allocations: 93.66 kB / 1.451 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.5476, allocations: 67.91 kB / 1.451 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003528/0.5511, allocations: 3.128 MB / 1.454 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.5516, allocations: 51.62 kB / 1.454 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.5517, allocations: 12 kB / 1.454 GB, free: 11.73 MB / 1.154 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.0003493/0.552, allocations: 213.7 kB / 1.454 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.5522, allocations: 55.67 kB / 1.454 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.5523, allocations: 56.44 kB / 1.454 GB, free: 11.4 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.5523, allocations: 4 kB / 1.454 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5523, allocations: 3.938 kB / 1.454 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008111/0.5531, allocations: 0.5367 MB / 1.455 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.5545, allocations: 0.8159 MB / 1.456 GB, free: 9.91 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5545, allocations: 3.938 kB / 1.456 GB, free: 9.906 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.5547, allocations: 39.97 kB / 1.456 GB, free: 9.867 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/0.555, allocations: 72.75 kB / 1.456 GB, free: 9.793 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.555, allocations: 4 kB / 1.456 GB, free: 9.789 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.5569, allocations: 1.713 MB / 1.457 GB, free: 7.965 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5569, allocations: 0 / 1.457 GB, free: 7.965 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.5577, allocations: 443.8 kB / 1.458 GB, free: 7.508 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.558, allocations: 91.61 kB / 1.458 GB, free: 7.418 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5581, allocations: 7.938 kB / 1.458 GB, free: 7.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.5586, allocations: 19.98 kB / 1.458 GB, free: 7.391 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.5587, allocations: 19.97 kB / 1.458 GB, free: 7.371 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.5587, allocations: 15.98 kB / 1.458 GB, free: 7.355 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005246/0.5592, allocations: 398.8 kB / 1.458 GB, free: 6.969 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5592, allocations: 0 / 1.458 GB, free: 6.969 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006965/0.5599, allocations: 211.7 kB / 1.458 GB, free: 6.762 MB / 1.154 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.001289/0.5612, allocations: 1.015 MB / 1.459 GB, free: 5.707 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.5622, allocations: 0.5266 MB / 1.46 GB, free: 5.156 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5622, allocations: 4.562 kB / 1.46 GB, free: 5.152 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.5626, allocations: 254.5 kB / 1.46 GB, free: 4.891 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.5644, allocations: 367.9 kB / 1.461 GB, free: 4.539 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007241/0.5717, allocations: 4.476 MB / 1.465 GB, free: 15.9 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.5721, allocations: 306.7 kB / 1.465 GB, free: 15.57 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004951/0.5726, allocations: 112.8 kB / 1.465 GB, free: 15.46 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.5729, allocations: 195.4 kB / 1.466 GB, free: 15.27 MB / 1.17 GB Notification: Performance of SimCode: time 1.032e-06/0.5729, allocations: 0 / 1.466 GB, free: 15.27 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06375/0.6366, allocations: 19.52 MB / 1.485 GB, free: 12.25 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.11, allocations: 10.3 kB / 1.485 GB, free: 12.24 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.602173778694123]