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.00152/0.00152, 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.001735/0.001735, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 8.02 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.713/2.713, allocations: 476.8 MB / 0.7707 GB, free: 4.266 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.002009/0.002009, allocations: 67.81 kB / 1.117 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3508, allocations: 169.9 MB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2076/0.5583, allocations: 174.7 MB / 1.454 GB, free: 12.16 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007202/0.5655, allocations: 4.328 MB / 1.458 GB, free: 7.816 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008188/0.5664, allocations: 27.75 kB / 1.458 GB, free: 7.789 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.5676, allocations: 377.9 kB / 1.459 GB, free: 7.418 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.5713, allocations: 1.28 MB / 1.46 GB, free: 6.133 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.5737, allocations: 0.8336 MB / 1.461 GB, free: 5.305 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002585/0.5763, allocations: 1.726 MB / 1.462 GB, free: 3.574 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008869/0.5772, allocations: 456.2 kB / 1.463 GB, free: 3.125 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.5787, allocations: 0.7239 MB / 1.464 GB, free: 2.398 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.5803, allocations: 0.5929 MB / 1.464 GB, free: 1.809 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.5805, allocations: 64 kB / 1.464 GB, free: 1.746 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.5824, allocations: 0.8613 MB / 1.465 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004013/0.5828, allocations: 283.2 kB / 1.465 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007876/0.5836, allocations: 402.3 kB / 1.466 GB, free: 216 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.5859, allocations: 1.273 MB / 1.467 GB, free: 14.93 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.586, allocations: 3.938 kB / 1.467 GB, free: 14.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.382e-06/0.586, allocations: 0 / 1.467 GB, free: 14.93 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.499e-05/0.586, allocations: 0 / 1.467 GB, free: 14.93 MB / 1.17 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.002338/0.5883, allocations: 0.9796 MB / 1.468 GB, free: 13.91 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.5884, allocations: 11.97 kB / 1.468 GB, free: 13.9 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.5885, allocations: 102.5 kB / 1.468 GB, free: 13.79 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.5897, allocations: 167.4 kB / 1.468 GB, free: 13.63 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.5909, allocations: 490.7 kB / 1.469 GB, free: 13.13 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.591, allocations: 41.31 kB / 1.469 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.179e-05/0.5911, allocations: 48 kB / 1.469 GB, free: 13.04 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.5923, allocations: 0.6518 MB / 1.469 GB, free: 12.38 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.5923, allocations: 4 kB / 1.469 GB, free: 12.37 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.5923, allocations: 24 kB / 1.469 GB, free: 12.35 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-05/0.5924, allocations: 21.31 kB / 1.469 GB, free: 12.32 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.5934, allocations: 0.5125 MB / 1.47 GB, free: 11.81 MB / 1.17 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.003809/0.5972, allocations: 2.254 MB / 1.472 GB, free: 9.398 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.5978, allocations: 242.8 kB / 1.472 GB, free: 9.152 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.598, allocations: 128.7 kB / 1.472 GB, free: 9.023 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.5981, allocations: 11.97 kB / 1.472 GB, free: 9.012 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5981, allocations: 38.5 kB / 1.472 GB, free: 8.965 MB / 1.17 GB Notification: Performance of pre-optimization done (n=20): time 2.255e-06/0.5981, allocations: 0 / 1.472 GB, free: 8.965 MB / 1.17 GB Notification: Performance of matching and sorting (n=20): time 0.001756/0.5999, allocations: 0.5166 MB / 1.473 GB, free: 8.438 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.5999, allocations: 85.06 kB / 1.473 GB, free: 8.336 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.6007, allocations: 0.5536 MB / 1.474 GB, free: 7.773 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.6007, allocations: 37.64 kB / 1.474 GB, free: 7.73 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.601, allocations: 343.8 kB / 1.474 GB, free: 7.391 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.73e-05/0.6011, allocations: 79.36 kB / 1.474 GB, free: 7.312 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.6012, allocations: 69.98 kB / 1.474 GB, free: 7.238 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.6014, allocations: 362.7 kB / 1.474 GB, free: 6.875 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.6017, allocations: 128.6 kB / 1.475 GB, free: 6.75 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.602, allocations: 218.6 kB / 1.475 GB, free: 6.504 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.6026, allocations: 336.9 kB / 1.475 GB, free: 6.145 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6026, allocations: 0 / 1.475 GB, free: 6.145 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001083/0.6037, allocations: 494.7 kB / 1.476 GB, free: 5.648 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.6037, allocations: 8 kB / 1.476 GB, free: 5.641 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6037, allocations: 288 / 1.476 GB, free: 5.641 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003976/0.6041, allocations: 101.6 kB / 1.476 GB, free: 5.535 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.6045, allocations: 71.91 kB / 1.476 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003517/0.608, allocations: 3.133 MB / 1.479 GB, free: 2.105 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/0.6086, allocations: 47.61 kB / 1.479 GB, free: 2.059 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.6086, allocations: 20.06 kB / 1.479 GB, free: 2.039 MB / 1.17 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.0003828/0.609, allocations: 214.3 kB / 1.479 GB, free: 1.82 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.6091, allocations: 59.62 kB / 1.479 GB, free: 1.762 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.6093, allocations: 60.44 kB / 1.479 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.6093, allocations: 3.984 kB / 1.479 GB, free: 1.691 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6093, allocations: 3.938 kB / 1.479 GB, free: 1.688 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008014/0.6101, allocations: 0.5267 MB / 1.48 GB, free: 1.09 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.6116, allocations: 0.889 MB / 1.481 GB, free: 148 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6116, allocations: 0 / 1.481 GB, free: 148 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.6118, allocations: 48.03 kB / 1.481 GB, free: 100 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/0.6121, allocations: 64.75 kB / 1.481 GB, free: 32 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.6121, allocations: 8 kB / 1.481 GB, free: 24 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.614, allocations: 1.717 MB / 1.482 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.614, allocations: 0 / 1.482 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.6147, allocations: 439.9 kB / 1.483 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.615, allocations: 99.45 kB / 1.483 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.6151, allocations: 11.94 kB / 1.483 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.6156, allocations: 19.97 kB / 1.483 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.6157, allocations: 27.91 kB / 1.483 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.6157, allocations: 11.98 kB / 1.483 GB, free: 13.57 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005336/0.6162, allocations: 402.8 kB / 1.483 GB, free: 13.18 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6162, allocations: 0 / 1.483 GB, free: 13.18 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007137/0.617, allocations: 203.8 kB / 1.484 GB, free: 12.98 MB / 1.186 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.001333/0.6183, allocations: 1.019 MB / 1.485 GB, free: 11.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.6193, allocations: 0.5173 MB / 1.485 GB, free: 11.38 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6194, allocations: 4.062 kB / 1.485 GB, free: 11.38 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.6198, allocations: 250.5 kB / 1.485 GB, free: 11.12 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.6215, allocations: 378.4 kB / 1.486 GB, free: 10.77 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007419/0.6289, allocations: 4.476 MB / 1.49 GB, free: 6.129 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.6296, allocations: 0.9015 MB / 1.491 GB, free: 5.199 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004792/0.6301, allocations: 112.8 kB / 1.491 GB, free: 5.086 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.6304, allocations: 191.4 kB / 1.491 GB, free: 4.898 MB / 1.186 GB Notification: Performance of SimCode: time 1.032e-06/0.6304, allocations: 3.938 kB / 1.491 GB, free: 4.895 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06541/0.6958, allocations: 18.15 MB / 1.509 GB, free: 3.09 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.14, allocations: 7.031 kB / 1.509 GB, free: 3.086 MB / 1.201 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.676877181977034]