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.001249/0.001249, allocations: 113 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.001379/0.001379, allocations: 208 kB / 22.25 MB, free: 5.082 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 8.004 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.901/2.901, allocations: 0.49 GB / 0.7951 GB, free: 33.19 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.001849/0.001849, allocations: 66.22 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2868, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2086/0.4954, allocations: 194.6 MB / 1.516 GB, free: 14.54 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009636/0.505, allocations: 5.786 MB / 1.522 GB, free: 8.746 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.5063, allocations: 59.5 kB / 1.522 GB, free: 8.688 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.508, allocations: 0.6097 MB / 1.522 GB, free: 8.074 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004813/0.5128, allocations: 1.956 MB / 1.524 GB, free: 6.109 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.5161, allocations: 1.232 MB / 1.525 GB, free: 4.883 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004319/0.5204, allocations: 3.025 MB / 1.528 GB, free: 1.848 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.5217, allocations: 0.7396 MB / 1.529 GB, free: 1.098 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.5243, allocations: 1.32 MB / 1.53 GB, free: 15.77 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.5263, allocations: 0.9642 MB / 1.531 GB, free: 14.81 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.5266, allocations: 108 kB / 1.531 GB, free: 14.71 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.5297, allocations: 1.535 MB / 1.533 GB, free: 13.17 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006218/0.5303, allocations: 482.6 kB / 1.533 GB, free: 12.7 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.5314, allocations: 0.6534 MB / 1.534 GB, free: 12.04 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.5351, allocations: 2.141 MB / 1.536 GB, free: 9.891 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.5351, allocations: 3.984 kB / 1.536 GB, free: 9.887 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5351, allocations: 0 / 1.536 GB, free: 9.887 MB / 1.232 GB Notification: Performance of Transformations before backend: time 5.01e-05/0.5351, allocations: 0 / 1.536 GB, free: 9.887 MB / 1.232 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.002943/0.5381, allocations: 1.473 MB / 1.538 GB, free: 8.375 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5381, allocations: 11.97 kB / 1.538 GB, free: 8.363 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.5383, allocations: 147.2 kB / 1.538 GB, free: 8.211 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.5402, allocations: 319 kB / 1.538 GB, free: 7.898 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.5416, allocations: 0.7838 MB / 1.539 GB, free: 7.086 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.644e-05/0.5417, allocations: 62 kB / 1.539 GB, free: 7.027 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.5418, allocations: 87.98 kB / 1.539 GB, free: 6.941 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.5433, allocations: 0.913 MB / 1.54 GB, free: 6.02 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.5433, allocations: 0 / 1.54 GB, free: 6.02 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-05/0.5434, allocations: 36 kB / 1.54 GB, free: 5.984 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.5434, allocations: 37.98 kB / 1.54 GB, free: 5.945 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.5448, allocations: 0.8275 MB / 1.541 GB, free: 5.121 MB / 1.232 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.005067/0.5498, allocations: 3.464 MB / 1.544 GB, free: 1.438 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007364/0.5506, allocations: 488.3 kB / 1.545 GB, free: 0.9492 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.551, allocations: 274 kB / 1.545 GB, free: 0.6797 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.5512, allocations: 28.42 kB / 1.545 GB, free: 0.6523 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.5512, allocations: 39 kB / 1.545 GB, free: 0.6055 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.053e-06/0.5512, allocations: 0 / 1.545 GB, free: 0.6055 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.003564/0.5548, allocations: 1.703 MB / 1.547 GB, free: 14.86 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.5548, allocations: 55.84 kB / 1.547 GB, free: 14.79 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009241/0.5557, allocations: 0.8136 MB / 1.547 GB, free: 13.97 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/0.5558, allocations: 41.7 kB / 1.547 GB, free: 13.92 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.5561, allocations: 484.2 kB / 1.548 GB, free: 13.45 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.5563, allocations: 182.4 kB / 1.548 GB, free: 13.27 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.5565, allocations: 114.3 kB / 1.548 GB, free: 13.15 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5566, allocations: 329.9 kB / 1.548 GB, free: 12.82 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.557, allocations: 241.2 kB / 1.549 GB, free: 12.59 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.5575, allocations: 357.2 kB / 1.549 GB, free: 12.2 MB / 1.248 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.003511/0.561, allocations: 1.456 MB / 1.55 GB, free: 10.71 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.561, allocations: 0 / 1.55 GB, free: 10.71 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001258/0.5623, allocations: 0.7836 MB / 1.551 GB, free: 9.91 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.5623, allocations: 8 kB / 1.551 GB, free: 9.902 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5623, allocations: 0 / 1.551 GB, free: 9.902 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.5626, allocations: 93.86 kB / 1.551 GB, free: 9.805 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.5632, allocations: 147.8 kB / 1.551 GB, free: 9.66 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/0.5662, allocations: 3.095 MB / 1.554 GB, free: 6.34 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/0.567, allocations: 31.88 kB / 1.554 GB, free: 6.309 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.567, allocations: 20 kB / 1.555 GB, free: 6.289 MB / 1.248 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.0004563/0.5675, allocations: 317.6 kB / 1.555 GB, free: 5.969 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.5676, allocations: 91.44 kB / 1.555 GB, free: 5.879 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.5678, allocations: 100.7 kB / 1.555 GB, free: 5.777 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.5678, allocations: 8 kB / 1.555 GB, free: 5.77 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.5678, allocations: 0 / 1.555 GB, free: 5.77 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.5689, allocations: 0.8387 MB / 1.556 GB, free: 4.84 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.5718, allocations: 1.766 MB / 1.558 GB, free: 2.977 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5718, allocations: 0 / 1.558 GB, free: 2.977 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.5724, allocations: 136.4 kB / 1.558 GB, free: 2.844 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.5726, allocations: 68.81 kB / 1.558 GB, free: 2.773 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.5727, allocations: 16 kB / 1.558 GB, free: 2.758 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.5743, allocations: 1.675 MB / 1.559 GB, free: 0.9727 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.5743, allocations: 7.938 kB / 1.559 GB, free: 0.9648 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.5759, allocations: 1.074 MB / 1.56 GB, free: 15.83 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.5763, allocations: 159.3 kB / 1.561 GB, free: 15.68 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.5764, allocations: 15.98 kB / 1.561 GB, free: 15.66 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006531/0.5771, allocations: 34.53 kB / 1.561 GB, free: 15.63 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.5772, allocations: 47.81 kB / 1.561 GB, free: 15.58 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.5773, allocations: 35.97 kB / 1.561 GB, free: 15.55 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006944/0.578, allocations: 0.5537 MB / 1.561 GB, free: 15 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.578, allocations: 0 / 1.561 GB, free: 15 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008056/0.5788, allocations: 284 kB / 1.562 GB, free: 14.72 MB / 1.264 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.002053/0.5808, allocations: 1.699 MB / 1.563 GB, free: 12.96 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.5821, allocations: 0.7723 MB / 1.564 GB, free: 12.16 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5821, allocations: 4 kB / 1.564 GB, free: 12.16 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.5827, allocations: 407.7 kB / 1.564 GB, free: 11.75 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.5852, allocations: 0.6048 MB / 1.565 GB, free: 11.15 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.5953, allocations: 7.016 MB / 1.572 GB, free: 3.848 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008609/0.5961, allocations: 1.091 MB / 1.573 GB, free: 2.727 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008575/0.597, allocations: 215.7 kB / 1.573 GB, free: 2.512 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.5975, allocations: 343.3 kB / 1.573 GB, free: 2.176 MB / 1.264 GB Notification: Performance of SimCode: time 7.82e-07/0.5975, allocations: 0 / 1.573 GB, free: 2.176 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07139/0.6689, allocations: 28.66 MB / 1.601 GB, free: 5.949 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.47, allocations: 15 kB / 1.601 GB, free: 5.938 MB / 1.295 GB " [Timeout remaining time 286] (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: 19.981261597946286]