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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_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.004518/0.004518, allocations: 98.91 kB / 15.73 MB, free: 5.988 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.001209/0.001209, allocations: 193.9 kB / 16.67 MB, free: 5.918 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.511/2.511, allocations: 482.6 MB / 0.755 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 64.17 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2921, allocations: 162.3 MB / 1.242 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2003/0.4925, allocations: 170.8 MB / 1.409 GB, free: 13.44 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006633/0.4992, allocations: 3.384 MB / 1.412 GB, free: 10.05 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.5003, allocations: 23.88 kB / 1.412 GB, free: 10.02 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.5013, allocations: 314.1 kB / 1.412 GB, free: 9.715 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002817/0.5042, allocations: 1.015 MB / 1.413 GB, free: 8.695 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.5059, allocations: 0.6727 MB / 1.414 GB, free: 8.027 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.5078, allocations: 1.514 MB / 1.415 GB, free: 6.512 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006543/0.5085, allocations: 482.7 kB / 1.416 GB, free: 6.039 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.5098, allocations: 0.6966 MB / 1.417 GB, free: 5.34 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.5109, allocations: 454.4 kB / 1.417 GB, free: 4.898 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.511, allocations: 56 kB / 1.417 GB, free: 4.844 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.5128, allocations: 0.8224 MB / 1.418 GB, free: 4.02 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.5132, allocations: 247.3 kB / 1.418 GB, free: 3.777 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004317/0.5136, allocations: 338.5 kB / 1.418 GB, free: 3.445 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.5155, allocations: 1.137 MB / 1.42 GB, free: 2.305 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.5155, allocations: 0 / 1.42 GB, free: 2.305 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5155, allocations: 0 / 1.42 GB, free: 2.305 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.5155, allocations: 3.938 kB / 1.42 GB, free: 2.301 MB / 1.139 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.001467/0.517, allocations: 0.934 MB / 1.42 GB, free: 1.312 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.517, allocations: 12.03 kB / 1.42 GB, free: 1.301 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.5171, allocations: 86.52 kB / 1.421 GB, free: 1.207 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.5183, allocations: 179.4 kB / 1.421 GB, free: 1.031 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008256/0.5191, allocations: 0.5212 MB / 1.421 GB, free: 484 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.5192, allocations: 33 kB / 1.421 GB, free: 452 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/0.5193, allocations: 44 kB / 1.421 GB, free: 408 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008177/0.5201, allocations: 474.4 kB / 1.422 GB, free: 15.93 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.5201, allocations: 0 / 1.422 GB, free: 15.93 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.5202, allocations: 20 kB / 1.422 GB, free: 15.91 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.5202, allocations: 17 kB / 1.422 GB, free: 15.89 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.5209, allocations: 415.7 kB / 1.422 GB, free: 15.48 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.5235, allocations: 1.804 MB / 1.424 GB, free: 13.53 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.524, allocations: 295.1 kB / 1.424 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.5243, allocations: 180.8 kB / 1.424 GB, free: 13.05 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.5245, allocations: 109 kB / 1.425 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.5245, allocations: 42.48 kB / 1.425 GB, free: 12.88 MB / 1.154 GB Notification: Performance of pre-optimization done (n=31): time 2.023e-06/0.5245, allocations: 0 / 1.425 GB, free: 12.88 MB / 1.154 GB Notification: Performance of matching and sorting (n=33): time 0.002068/0.5266, allocations: 1.075 MB / 1.426 GB, free: 11.75 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5267, allocations: 51.41 kB / 1.426 GB, free: 11.69 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.5272, allocations: 453.9 kB / 1.426 GB, free: 11.23 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.5272, allocations: 33.7 kB / 1.426 GB, free: 11.2 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.5275, allocations: 256.4 kB / 1.426 GB, free: 10.94 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5276, allocations: 123 kB / 1.426 GB, free: 10.82 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.5277, allocations: 69.7 kB / 1.427 GB, free: 10.75 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5279, allocations: 358.8 kB / 1.427 GB, free: 10.39 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.5281, allocations: 131.9 kB / 1.427 GB, free: 10.26 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.5284, allocations: 189.9 kB / 1.427 GB, free: 10.05 MB / 1.154 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.001926/0.5303, allocations: 0.8583 MB / 1.428 GB, free: 9.156 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5303, allocations: 0 / 1.428 GB, free: 9.156 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006237/0.5309, allocations: 428.6 kB / 1.428 GB, free: 8.73 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.531, allocations: 8.188 kB / 1.428 GB, free: 8.723 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.531, allocations: 4 kB / 1.428 GB, free: 8.719 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.531, allocations: 4 kB / 1.428 GB, free: 8.715 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.5313, allocations: 67.84 kB / 1.429 GB, free: 8.648 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.5313, allocations: 4 kB / 1.429 GB, free: 8.645 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.5317, allocations: 19.98 kB / 1.429 GB, free: 8.625 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.5317, allocations: 8 kB / 1.429 GB, free: 8.617 MB / 1.154 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.0002653/0.532, allocations: 217.6 kB / 1.429 GB, free: 8.395 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.5321, allocations: 55.67 kB / 1.429 GB, free: 8.34 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.5322, allocations: 64.75 kB / 1.429 GB, free: 8.277 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.5322, allocations: 4 kB / 1.429 GB, free: 8.273 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5323, allocations: 3.938 kB / 1.429 GB, free: 8.27 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005122/0.5328, allocations: 404.8 kB / 1.429 GB, free: 7.844 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.5346, allocations: 1.243 MB / 1.43 GB, free: 6.496 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5346, allocations: 4 kB / 1.43 GB, free: 6.492 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.5349, allocations: 79.89 kB / 1.431 GB, free: 6.414 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.5349, allocations: 4 kB / 1.431 GB, free: 6.41 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.535, allocations: 12 kB / 1.431 GB, free: 6.398 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.535, allocations: 7.938 kB / 1.431 GB, free: 6.391 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.535, allocations: 4 kB / 1.431 GB, free: 6.387 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.5359, allocations: 0.7121 MB / 1.431 GB, free: 5.609 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.5361, allocations: 172.7 kB / 1.431 GB, free: 5.422 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.5362, allocations: 12 kB / 1.431 GB, free: 5.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.5365, allocations: 20.05 kB / 1.431 GB, free: 5.391 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.5366, allocations: 27.91 kB / 1.431 GB, free: 5.363 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.5367, allocations: 23.94 kB / 1.432 GB, free: 5.34 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003751/0.537, allocations: 331.1 kB / 1.432 GB, free: 5.02 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.21e-07/0.537, allocations: 0 / 1.432 GB, free: 5.02 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000535/0.5376, allocations: 151.9 kB / 1.432 GB, free: 4.871 MB / 1.154 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.001468/0.5391, allocations: 1.299 MB / 1.433 GB, free: 3.504 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005905/0.5397, allocations: 323.6 kB / 1.434 GB, free: 3.188 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5397, allocations: 4 kB / 1.434 GB, free: 3.184 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.5399, allocations: 168 kB / 1.434 GB, free: 3.02 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.5416, allocations: 368.1 kB / 1.434 GB, free: 2.672 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/0.5474, allocations: 4.431 MB / 1.438 GB, free: 14.02 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.548, allocations: 0.8822 MB / 1.439 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005042/0.5485, allocations: 132.6 kB / 1.439 GB, free: 12.98 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.5487, allocations: 171.4 kB / 1.44 GB, free: 12.82 MB / 1.17 GB Notification: Performance of SimCode: time 4.228e-06/0.5488, allocations: 0 / 1.44 GB, free: 12.82 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.104/2.653, allocations: 15.46 MB / 1.455 GB, free: 13.63 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/18.71, allocations: 12.73 kB / 1.455 GB, free: 13.62 MB / 1.186 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) 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) Reference file matches