Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001414/0.001414, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001661/0.001661, allocations: 214.8 kB / 23.04 MB, free: 5.074 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.903/2.903, allocations: 476.7 MB / 0.7715 GB, free: 4.273 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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",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.002088/0.002088, allocations: 62.88 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 170 MB / 1.284 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2488/0.5809, allocations: 194.5 MB / 1.474 GB, free: 8.434 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.592, allocations: 5.79 MB / 1.48 GB, free: 2.633 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.5942, allocations: 55.56 kB / 1.48 GB, free: 2.578 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.5961, allocations: 0.6097 MB / 1.48 GB, free: 1.965 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00486/0.6009, allocations: 1.945 MB / 1.482 GB, free: 12 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.6042, allocations: 1.241 MB / 1.484 GB, free: 14.77 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004587/0.6088, allocations: 3.023 MB / 1.486 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.6101, allocations: 0.7357 MB / 1.487 GB, free: 11 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.6124, allocations: 1.125 MB / 1.488 GB, free: 9.871 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.6149, allocations: 0.9801 MB / 1.489 GB, free: 8.895 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.6151, allocations: 108 kB / 1.489 GB, free: 8.789 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.6185, allocations: 1.547 MB / 1.491 GB, free: 7.238 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006103/0.6191, allocations: 478.6 kB / 1.491 GB, free: 6.77 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.6201, allocations: 0.6534 MB / 1.492 GB, free: 6.113 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.6241, allocations: 2.149 MB / 1.494 GB, free: 3.957 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6241, allocations: 0 / 1.494 GB, free: 3.957 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6241, allocations: 0 / 1.494 GB, free: 3.957 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.19e-05/0.6241, allocations: 0 / 1.494 GB, free: 3.957 MB / 1.186 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.002826/0.6269, allocations: 1.477 MB / 1.496 GB, free: 2.441 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.627, allocations: 11.97 kB / 1.496 GB, free: 2.43 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.245e-05/0.627, allocations: 29.94 kB / 1.496 GB, free: 2.402 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.6272, allocations: 143.2 kB / 1.496 GB, free: 2.254 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.6292, allocations: 323 kB / 1.496 GB, free: 1.938 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.6309, allocations: 0.7761 MB / 1.497 GB, free: 1.137 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.339e-05/0.6309, allocations: 66 kB / 1.497 GB, free: 1.07 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.6311, allocations: 87.94 kB / 1.497 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.6328, allocations: 0.9014 MB / 1.498 GB, free: 76 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.6328, allocations: 3.984 kB / 1.498 GB, free: 72 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.082e-05/0.6329, allocations: 40 kB / 1.498 GB, free: 32 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/0.6329, allocations: 34 kB / 1.498 GB, free: 0 / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.6345, allocations: 0.8276 MB / 1.499 GB, free: 15.17 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.006239/0.6407, allocations: 3.46 MB / 1.502 GB, free: 11.49 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008089/0.6415, allocations: 482.8 kB / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.642, allocations: 282.7 kB / 1.503 GB, free: 10.74 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.6422, allocations: 24.42 kB / 1.503 GB, free: 10.71 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.6422, allocations: 42.94 kB / 1.503 GB, free: 10.66 MB / 1.201 GB Notification: Performance of pre-optimization done (n=47): time 2.234e-06/0.6422, allocations: 0 / 1.503 GB, free: 10.66 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.004377/0.6466, allocations: 1.71 MB / 1.505 GB, free: 8.914 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.6466, allocations: 55.84 kB / 1.505 GB, free: 8.848 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.6478, allocations: 0.8059 MB / 1.505 GB, free: 8.031 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.6479, allocations: 37.7 kB / 1.505 GB, free: 7.988 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.6483, allocations: 484.2 kB / 1.506 GB, free: 7.508 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.6486, allocations: 182.4 kB / 1.506 GB, free: 7.328 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.6488, allocations: 114.3 kB / 1.506 GB, free: 7.211 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6489, allocations: 329.9 kB / 1.506 GB, free: 6.883 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/0.6494, allocations: 245.2 kB / 1.507 GB, free: 6.641 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.65, allocations: 357.1 kB / 1.507 GB, free: 6.258 MB / 1.201 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/0.6538, allocations: 1.449 MB / 1.508 GB, free: 4.777 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.6538, allocations: 0 / 1.508 GB, free: 4.777 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001471/0.6553, allocations: 0.7873 MB / 1.509 GB, free: 3.977 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6553, allocations: 4 kB / 1.509 GB, free: 3.973 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6553, allocations: 4 kB / 1.509 GB, free: 3.969 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.6556, allocations: 102 kB / 1.509 GB, free: 3.863 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.6563, allocations: 139.8 kB / 1.509 GB, free: 3.727 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.6594, allocations: 3.1 MB / 1.512 GB, free: 404 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008792/0.6603, allocations: 31.92 kB / 1.513 GB, free: 372 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.6604, allocations: 20 kB / 1.513 GB, free: 352 kB / 1.201 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * 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,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005195/0.6609, allocations: 301.7 kB / 1.513 GB, free: 40 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.6611, allocations: 99.48 kB / 1.513 GB, free: 15.94 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.6613, allocations: 100.7 kB / 1.513 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6613, allocations: 4 kB / 1.513 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6613, allocations: 3.938 kB / 1.513 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/0.6624, allocations: 0.8388 MB / 1.514 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.6654, allocations: 1.767 MB / 1.516 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.6654, allocations: 4 kB / 1.516 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.666, allocations: 128.3 kB / 1.516 GB, free: 12.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.6662, allocations: 64.8 kB / 1.516 GB, free: 12.85 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.6663, allocations: 16 kB / 1.516 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.6681, allocations: 1.678 MB / 1.517 GB, free: 11.04 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.6681, allocations: 7.984 kB / 1.517 GB, free: 11.03 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.6698, allocations: 1.075 MB / 1.518 GB, free: 9.898 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/0.6702, allocations: 167.4 kB / 1.519 GB, free: 9.734 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.6703, allocations: 19.98 kB / 1.519 GB, free: 9.715 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/0.671, allocations: 27.97 kB / 1.519 GB, free: 9.688 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.6711, allocations: 47.81 kB / 1.519 GB, free: 9.641 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.6712, allocations: 27.98 kB / 1.519 GB, free: 9.613 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007845/0.672, allocations: 0.5654 MB / 1.519 GB, free: 9.051 MB / 1.217 GB Notification: Performance of sort global known variables: time 6.1e-08/0.672, allocations: 0 / 1.519 GB, free: 9.051 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009505/0.6729, allocations: 280 kB / 1.52 GB, free: 8.777 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002294/0.6752, allocations: 1.687 MB / 1.521 GB, free: 7.023 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.6766, allocations: 0.7838 MB / 1.522 GB, free: 6.207 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6766, allocations: 0 / 1.522 GB, free: 6.207 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.6773, allocations: 411.3 kB / 1.522 GB, free: 5.793 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/0.6802, allocations: 0.6202 MB / 1.523 GB, free: 5.191 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.6912, allocations: 7 MB / 1.53 GB, free: 13.91 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/0.692, allocations: 1.087 MB / 1.531 GB, free: 12.79 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008297/0.6928, allocations: 211.7 kB / 1.531 GB, free: 12.58 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005152/0.6933, allocations: 351.3 kB / 1.531 GB, free: 12.24 MB / 1.232 GB Notification: Performance of SimCode: time 8.41e-07/0.6933, allocations: 0 / 1.531 GB, free: 12.24 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07043/0.7637, allocations: 28.69 MB / 1.559 GB, free: 15.99 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.91, allocations: 9.953 kB / 1.559 GB, free: 15.98 MB / 1.264 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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: 23.099132394010667]