Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001507/0.001507, 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.001732/0.001732, allocations: 219.9 kB / 23.03 MB, free: 4.945 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.107/3.107, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001945/0.001945, allocations: 62 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3446, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1863/0.5309, allocations: 150.6 MB / 1.492 GB, free: 8.734 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005726/0.5366, allocations: 3.209 MB / 1.495 GB, free: 5.52 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006068/0.5372, allocations: 35.69 kB / 1.496 GB, free: 5.484 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009261/0.5382, allocations: 306.2 kB / 1.496 GB, free: 5.184 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.5408, allocations: 1.062 MB / 1.497 GB, free: 4.117 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.5426, allocations: 0.6796 MB / 1.498 GB, free: 3.441 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002113/0.5447, allocations: 1.568 MB / 1.499 GB, free: 1.863 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006134/0.5453, allocations: 377.9 kB / 1.499 GB, free: 1.496 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.5467, allocations: 0.7435 MB / 1.5 GB, free: 0.75 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.5479, allocations: 0.4921 MB / 1.501 GB, free: 264 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.548, allocations: 52 kB / 1.501 GB, free: 212 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.5494, allocations: 0.6896 MB / 1.501 GB, free: 15.52 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.5498, allocations: 251.2 kB / 1.502 GB, free: 15.27 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.5501, allocations: 286.8 kB / 1.502 GB, free: 14.99 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.5518, allocations: 1.11 MB / 1.503 GB, free: 13.88 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5518, allocations: 0 / 1.503 GB, free: 13.88 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5518, allocations: 3.938 kB / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.5518, allocations: 0 / 1.503 GB, free: 13.87 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001482/0.5533, allocations: 0.8626 MB / 1.504 GB, free: 12.98 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5533, allocations: 8.031 kB / 1.504 GB, free: 12.97 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.528e-05/0.5533, allocations: 13 kB / 1.504 GB, free: 12.96 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.5535, allocations: 86.53 kB / 1.504 GB, free: 12.86 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.5547, allocations: 175.4 kB / 1.504 GB, free: 12.69 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008975/0.5556, allocations: 478.5 kB / 1.505 GB, free: 12.2 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.5556, allocations: 29 kB / 1.505 GB, free: 12.17 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/0.5557, allocations: 40 kB / 1.505 GB, free: 12.13 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009992/0.5567, allocations: 0.7143 MB / 1.505 GB, free: 11.35 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.5567, allocations: 0 / 1.505 GB, free: 11.35 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.5568, allocations: 16 kB / 1.505 GB, free: 11.33 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.5568, allocations: 20.98 kB / 1.505 GB, free: 11.31 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006835/0.5575, allocations: 411.8 kB / 1.506 GB, free: 10.91 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.5599, allocations: 1.239 MB / 1.507 GB, free: 9.625 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.5604, allocations: 282.6 kB / 1.507 GB, free: 9.34 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.5606, allocations: 172.7 kB / 1.507 GB, free: 9.168 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.5608, allocations: 23.92 kB / 1.507 GB, free: 9.145 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.5608, allocations: 38.56 kB / 1.507 GB, free: 9.098 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.5608, allocations: 0 / 1.507 GB, free: 9.098 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.002003/0.5628, allocations: 0.9903 MB / 1.508 GB, free: 8.074 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.5629, allocations: 55.41 kB / 1.508 GB, free: 8.008 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.5634, allocations: 457.9 kB / 1.509 GB, free: 7.555 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.5634, allocations: 33.7 kB / 1.509 GB, free: 7.516 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.5636, allocations: 256.5 kB / 1.509 GB, free: 7.258 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.5637, allocations: 119 kB / 1.509 GB, free: 7.141 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.5639, allocations: 69.69 kB / 1.509 GB, free: 7.066 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.564, allocations: 354.8 kB / 1.51 GB, free: 6.711 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.5643, allocations: 131.9 kB / 1.51 GB, free: 6.582 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.5646, allocations: 249.3 kB / 1.51 GB, free: 6.305 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.5665, allocations: 0.7887 MB / 1.511 GB, free: 5.496 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5665, allocations: 3.938 kB / 1.511 GB, free: 5.492 MB / 1.201 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000652/0.5672, allocations: 413.1 kB / 1.511 GB, free: 5.082 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5672, allocations: 12.03 kB / 1.511 GB, free: 5.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5672, allocations: 0 / 1.511 GB, free: 5.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.5672, allocations: 4 kB / 1.511 GB, free: 5.066 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.5675, allocations: 71.91 kB / 1.511 GB, free: 4.996 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.5675, allocations: 4 kB / 1.511 GB, free: 4.992 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.5679, allocations: 11.98 kB / 1.511 GB, free: 4.98 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.5679, allocations: 16 kB / 1.511 GB, free: 4.965 MB / 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: 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.000269/0.5682, allocations: 213.6 kB / 1.512 GB, free: 4.746 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.5683, allocations: 55.67 kB / 1.512 GB, free: 4.691 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.5684, allocations: 60.75 kB / 1.512 GB, free: 4.633 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.5684, allocations: 4 kB / 1.512 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5684, allocations: 0 / 1.512 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005323/0.569, allocations: 412.3 kB / 1.512 GB, free: 4.195 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.5708, allocations: 1.136 MB / 1.513 GB, free: 2.961 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5709, allocations: 4 kB / 1.513 GB, free: 2.957 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.5712, allocations: 79.84 kB / 1.513 GB, free: 2.879 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.5712, allocations: 4 kB / 1.513 GB, free: 2.875 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.5713, allocations: 16 kB / 1.513 GB, free: 2.859 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.5713, allocations: 4 kB / 1.513 GB, free: 2.855 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.5713, allocations: 11.92 kB / 1.513 GB, free: 2.844 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.5723, allocations: 0.7115 MB / 1.514 GB, free: 2.066 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.5725, allocations: 95.61 kB / 1.514 GB, free: 1.973 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.5726, allocations: 12 kB / 1.514 GB, free: 1.961 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.573, allocations: 21.11 kB / 1.514 GB, free: 1.941 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.5731, allocations: 31.84 kB / 1.514 GB, free: 1.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.5731, allocations: 23.92 kB / 1.514 GB, free: 1.887 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003948/0.5735, allocations: 331.1 kB / 1.514 GB, free: 1.562 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5735, allocations: 0 / 1.514 GB, free: 1.562 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005778/0.5741, allocations: 140 kB / 1.515 GB, free: 1.426 MB / 1.201 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.001483/0.5756, allocations: 1.292 MB / 1.516 GB, free: 56 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006172/0.5762, allocations: 311.8 kB / 1.516 GB, free: 15.75 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5762, allocations: 4 kB / 1.516 GB, free: 15.74 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.5764, allocations: 154.4 kB / 1.516 GB, free: 15.59 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.5781, allocations: 366.6 kB / 1.517 GB, free: 15.24 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005955/0.584, allocations: 4.43 MB / 1.521 GB, free: 10.6 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5843, allocations: 276.8 kB / 1.521 GB, free: 10.3 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004733/0.5848, allocations: 144.7 kB / 1.521 GB, free: 10.16 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.5851, allocations: 163.4 kB / 1.521 GB, free: 10 MB / 1.217 GB Notification: Performance of SimCode: time 1.022e-06/0.5851, allocations: 0 / 1.521 GB, free: 10 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04389/0.629, allocations: 17.04 MB / 1.538 GB, free: 9.391 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.5, allocations: 7.922 kB / 1.538 GB, free: 9.383 MB / 1.232 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.006941145984456]