Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001359/0.001359, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001545/0.001545, allocations: 220.3 kB / 23.03 MB, free: 4.941 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.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.975/2.975, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_12_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.00198/0.00198, allocations: 62.69 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3201, allocations: 176.1 MB / 1.327 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2008/0.5209, allocations: 168.4 MB / 1.491 GB, free: 8.352 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0098/0.5307, allocations: 5.438 MB / 1.496 GB, free: 2.902 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.532, allocations: 55.56 kB / 1.496 GB, free: 2.848 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.5336, allocations: 0.5591 MB / 1.497 GB, free: 2.285 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004755/0.5384, allocations: 1.937 MB / 1.499 GB, free: 348 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.5415, allocations: 1.216 MB / 1.5 GB, free: 15.13 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004302/0.5458, allocations: 3.029 MB / 1.503 GB, free: 12.09 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.5473, allocations: 0.7358 MB / 1.504 GB, free: 11.35 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/0.5501, allocations: 1.324 MB / 1.505 GB, free: 10.02 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.5525, allocations: 0.9641 MB / 1.506 GB, free: 9.059 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.5528, allocations: 108 kB / 1.506 GB, free: 8.953 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.5556, allocations: 1.188 MB / 1.507 GB, free: 7.762 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006712/0.5562, allocations: 478.5 kB / 1.508 GB, free: 7.293 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.5574, allocations: 0.5447 MB / 1.508 GB, free: 6.746 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003856/0.5613, allocations: 2.114 MB / 1.51 GB, free: 4.625 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5613, allocations: 0 / 1.51 GB, free: 4.625 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5613, allocations: 0 / 1.51 GB, free: 4.625 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.731e-05/0.5613, allocations: 3.938 kB / 1.51 GB, free: 4.621 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004433/0.5658, allocations: 1.485 MB / 1.512 GB, free: 3.098 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.5658, allocations: 8.031 kB / 1.512 GB, free: 3.09 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.373e-05/0.5659, allocations: 22 kB / 1.512 GB, free: 3.07 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003197/0.5662, allocations: 139.2 kB / 1.512 GB, free: 2.926 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.5684, allocations: 327 kB / 1.512 GB, free: 2.605 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.5704, allocations: 0.7839 MB / 1.513 GB, free: 1.793 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.928e-05/0.5705, allocations: 66 kB / 1.513 GB, free: 1.727 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.5706, allocations: 79.94 kB / 1.513 GB, free: 1.648 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.5727, allocations: 1.361 MB / 1.514 GB, free: 176 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.5728, allocations: 0 / 1.514 GB, free: 176 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.921e-05/0.5729, allocations: 40 kB / 1.515 GB, free: 136 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.456e-05/0.5729, allocations: 33.98 kB / 1.515 GB, free: 104 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.5746, allocations: 0.8237 MB / 1.515 GB, free: 15.27 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.005817/0.5804, allocations: 2.55 MB / 1.518 GB, free: 12.67 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/0.5813, allocations: 481.7 kB / 1.518 GB, free: 12.19 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.5818, allocations: 274 kB / 1.519 GB, free: 11.92 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.582, allocations: 24.42 kB / 1.519 GB, free: 11.89 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.582, allocations: 42.98 kB / 1.519 GB, free: 11.84 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 3.406e-06/0.582, allocations: 0 / 1.519 GB, free: 11.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.004854/0.5869, allocations: 1.706 MB / 1.52 GB, free: 10.1 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.587, allocations: 55.84 kB / 1.52 GB, free: 10.03 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.5883, allocations: 0.802 MB / 1.521 GB, free: 9.223 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.076e-05/0.5884, allocations: 37.7 kB / 1.521 GB, free: 9.18 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.5888, allocations: 488.2 kB / 1.522 GB, free: 8.695 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.589, allocations: 182.4 kB / 1.522 GB, free: 8.516 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.5893, allocations: 110.3 kB / 1.522 GB, free: 8.402 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.5894, allocations: 333.9 kB / 1.522 GB, free: 8.07 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.5899, allocations: 245.2 kB / 1.522 GB, free: 7.832 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/0.5905, allocations: 408.5 kB / 1.523 GB, free: 7.383 MB / 1.217 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.003971/0.5945, allocations: 1.452 MB / 1.524 GB, free: 5.895 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.5945, allocations: 0 / 1.524 GB, free: 5.895 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001505/0.596, allocations: 0.7796 MB / 1.525 GB, free: 5.102 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.596, allocations: 9.094 kB / 1.525 GB, free: 5.094 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.596, allocations: 4 kB / 1.525 GB, free: 5.09 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.5964, allocations: 97.98 kB / 1.525 GB, free: 4.988 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.597, allocations: 143.8 kB / 1.525 GB, free: 4.848 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.6006, allocations: 3.086 MB / 1.528 GB, free: 1.531 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008457/0.6014, allocations: 27.94 kB / 1.528 GB, free: 1.504 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/0.6015, allocations: 20 kB / 1.528 GB, free: 1.484 MB / 1.217 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.0005294/0.602, allocations: 313.5 kB / 1.529 GB, free: 1.168 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.6022, allocations: 99.5 kB / 1.529 GB, free: 1.07 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.6025, allocations: 100.7 kB / 1.529 GB, free: 0.9727 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6025, allocations: 4 kB / 1.529 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6025, allocations: 3.938 kB / 1.529 GB, free: 0.9648 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/0.6036, allocations: 0.8427 MB / 1.53 GB, free: 32 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.6067, allocations: 1.622 MB / 1.531 GB, free: 14.31 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6067, allocations: 0 / 1.531 GB, free: 14.31 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/0.6074, allocations: 136.2 kB / 1.531 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002316/0.6076, allocations: 72.98 kB / 1.531 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.6076, allocations: 16 kB / 1.531 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.6094, allocations: 1.659 MB / 1.533 GB, free: 12.32 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.6094, allocations: 12.05 kB / 1.533 GB, free: 12.31 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.6112, allocations: 1.078 MB / 1.534 GB, free: 11.17 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/0.6116, allocations: 167.3 kB / 1.534 GB, free: 11.01 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.6118, allocations: 19.97 kB / 1.534 GB, free: 10.99 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/0.6125, allocations: 24.59 kB / 1.534 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.6126, allocations: 47.94 kB / 1.534 GB, free: 10.92 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.289e-05/0.6127, allocations: 32.16 kB / 1.534 GB, free: 10.89 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007988/0.6135, allocations: 0.5615 MB / 1.535 GB, free: 10.33 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6135, allocations: 0 / 1.535 GB, free: 10.33 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008991/0.6144, allocations: 276 kB / 1.535 GB, free: 10.06 MB / 1.232 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.002271/0.6166, allocations: 1.705 MB / 1.537 GB, free: 8.285 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.6181, allocations: 0.7645 MB / 1.538 GB, free: 7.496 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.6181, allocations: 4 kB / 1.538 GB, free: 7.492 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006572/0.6188, allocations: 407.7 kB / 1.538 GB, free: 7.082 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.6215, allocations: 0.6126 MB / 1.539 GB, free: 6.488 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.6324, allocations: 7.007 MB / 1.545 GB, free: 15.19 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.633, allocations: 0.489 MB / 1.546 GB, free: 14.66 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008075/0.6338, allocations: 215.7 kB / 1.546 GB, free: 14.45 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/0.6343, allocations: 339.3 kB / 1.546 GB, free: 14.12 MB / 1.248 GB Notification: Performance of SimCode: time 8.61e-07/0.6343, allocations: 4 kB / 1.546 GB, free: 14.11 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07258/0.7069, allocations: 30.43 MB / 1.576 GB, free: 440 kB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.67, allocations: 3.938 kB / 1.576 GB, free: 436 kB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.045878428965807]