Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 191.5 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7227/0.7242, allocations: 140.4 MB / 0.9492 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1782/0.9025, allocations: 168.5 MB / 1.114 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005073/0.9076, allocations: 3.371 MB / 1.117 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006687/0.9083, allocations: 19.88 kB / 1.117 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009038/0.9093, allocations: 274.6 kB / 1.117 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.9116, allocations: 0.9571 MB / 1.118 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.9132, allocations: 0.6094 MB / 1.119 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001745/0.9149, allocations: 1.517 MB / 1.12 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006921/0.9156, allocations: 473.4 kB / 1.121 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000968/0.9166, allocations: 0.5642 MB / 1.121 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.9177, allocations: 0.4943 MB / 1.122 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.9179, allocations: 56 kB / 1.122 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.9193, allocations: 0.8689 MB / 1.123 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.9196, allocations: 243.3 kB / 1.123 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004306/0.9201, allocations: 342.5 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.9216, allocations: 1.18 MB / 1.124 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9216, allocations: 4 kB / 1.124 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9216, allocations: 0 / 1.124 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.715e-05/0.9217, allocations: 0 / 1.124 GB, free: 13.97 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001538/0.9232, allocations: 0.9038 MB / 1.125 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.9233, allocations: 16.03 kB / 1.125 GB, free: 13 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.9234, allocations: 86.47 kB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.9246, allocations: 171.2 kB / 1.126 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.9254, allocations: 0.4974 MB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.9254, allocations: 37 kB / 1.126 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.9255, allocations: 43.94 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.9263, allocations: 474.4 kB / 1.127 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.9263, allocations: 0 / 1.127 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.9264, allocations: 20 kB / 1.127 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.9264, allocations: 16.94 kB / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006131/0.927, allocations: 415.7 kB / 1.127 GB, free: 11.21 MB / 0.8887 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.002424/0.9294, allocations: 1.743 MB / 1.129 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.9299, allocations: 294.6 kB / 1.129 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.9302, allocations: 180.8 kB / 1.129 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.9303, allocations: 101 kB / 1.129 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.9304, allocations: 42.5 kB / 1.129 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.9304, allocations: 0 / 1.129 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.001938/0.9323, allocations: 1.047 MB / 1.13 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.9324, allocations: 55.41 kB / 1.13 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.9328, allocations: 461.9 kB / 1.131 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.9329, allocations: 33.7 kB / 1.131 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.9331, allocations: 256.1 kB / 1.131 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.954e-05/0.9332, allocations: 118.3 kB / 1.131 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.9333, allocations: 61.7 kB / 1.131 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.9334, allocations: 362.7 kB / 1.132 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.9336, allocations: 123.9 kB / 1.132 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.9339, allocations: 197.7 kB / 1.132 GB, free: 5.887 MB / 0.8887 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.9358, allocations: 0.8663 MB / 1.133 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9358, allocations: 0 / 1.133 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005835/0.9364, allocations: 412.5 kB / 1.133 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9364, allocations: 11.94 kB / 1.133 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.9364, allocations: 3.984 kB / 1.133 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.9364, allocations: 8.125 kB / 1.133 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.9367, allocations: 75.91 kB / 1.133 GB, free: 4.473 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.9367, allocations: 4 kB / 1.133 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.9372, allocations: 27.83 kB / 1.133 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.9372, allocations: 16 kB / 1.133 GB, free: 4.426 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.9375, allocations: 214.4 kB / 1.134 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/0.9376, allocations: 51.44 kB / 1.134 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.9377, allocations: 56.75 kB / 1.134 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.9377, allocations: 4 kB / 1.134 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.9377, allocations: 0 / 1.134 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004566/0.9382, allocations: 416.5 kB / 1.134 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.9399, allocations: 1.247 MB / 1.135 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.9399, allocations: 8 kB / 1.135 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.9403, allocations: 67.91 kB / 1.135 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.9403, allocations: 8 kB / 1.135 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.9403, allocations: 12 kB / 1.135 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.9404, allocations: 15.92 kB / 1.135 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9404, allocations: 4 kB / 1.135 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.9412, allocations: 0.6998 MB / 1.136 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.9414, allocations: 168.6 kB / 1.136 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.9415, allocations: 19.98 kB / 1.136 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.9419, allocations: 23.92 kB / 1.136 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.942, allocations: 39.84 kB / 1.136 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.942, allocations: 16 kB / 1.136 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003256/0.9424, allocations: 331.1 kB / 1.137 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9424, allocations: 0 / 1.137 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005134/0.9429, allocations: 140 kB / 1.137 GB, free: 0.6836 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001273/0.9442, allocations: 1.312 MB / 1.138 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005265/0.9447, allocations: 348.4 kB / 1.138 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.9447, allocations: 0 / 1.138 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.9449, allocations: 168.9 kB / 1.139 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.9465, allocations: 367.2 kB / 1.139 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/0.9522, allocations: 4.635 MB / 1.143 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.9526, allocations: 0.8862 MB / 1.144 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004851/0.9531, allocations: 136.6 kB / 1.144 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.9533, allocations: 167.4 kB / 1.145 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.9533, allocations: 0 / 1.145 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3296/1.283, allocations: 15.22 MB / 1.159 GB, free: 9.496 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/1.283, allocations: 260.4 kB / 1.16 GB, free: 9.238 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/3.269, allocations: 1 kB / 1.16 GB, free: 9.238 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches