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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001129/0.001129, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001191/0.001192, allocations: 201.3 kB / 16.14 MB, free: 6.594 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.304/1.304, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5746, allocations: 140.4 MB / 0.949 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1802/0.7549, allocations: 168.5 MB / 1.114 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005536/0.7604, allocations: 3.435 MB / 1.117 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006939/0.7611, allocations: 23.81 kB / 1.117 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009729/0.7622, allocations: 266.6 kB / 1.117 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.7645, allocations: 0.9565 MB / 1.118 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.7662, allocations: 0.6037 MB / 1.119 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00235/0.7685, allocations: 2.107 MB / 1.121 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006866/0.7692, allocations: 405 kB / 1.121 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.7703, allocations: 0.4939 MB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.7715, allocations: 472.7 kB / 1.122 GB, free: 176 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.7717, allocations: 28 kB / 1.122 GB, free: 148 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.7735, allocations: 0.9546 MB / 1.123 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.7738, allocations: 215.4 kB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.7743, allocations: 306.5 kB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.7759, allocations: 1.161 MB / 1.125 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7759, allocations: 0 / 1.125 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7759, allocations: 0 / 1.125 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.7759, allocations: 0 / 1.125 GB, free: 13.51 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.001689/0.7776, allocations: 0.9116 MB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.7777, allocations: 8.031 kB / 1.126 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.7778, allocations: 82.53 kB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.7792, allocations: 175.2 kB / 1.126 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.7802, allocations: 0.5013 MB / 1.126 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.7802, allocations: 33 kB / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/0.7803, allocations: 44 kB / 1.126 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.7811, allocations: 474.4 kB / 1.127 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.7812, allocations: 0 / 1.127 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.7812, allocations: 20 kB / 1.127 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.7813, allocations: 17 kB / 1.127 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.7819, allocations: 415.7 kB / 1.127 GB, free: 10.75 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.002666/0.7846, allocations: 1.743 MB / 1.129 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.7851, allocations: 298.6 kB / 1.129 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.7854, allocations: 182.8 kB / 1.13 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.7856, allocations: 101 kB / 1.13 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.7856, allocations: 34.56 kB / 1.13 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.7856, allocations: 0 / 1.13 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.002057/0.7877, allocations: 1.055 MB / 1.131 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.7877, allocations: 51.41 kB / 1.131 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.7882, allocations: 457.9 kB / 1.131 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.7883, allocations: 37.7 kB / 1.131 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.7885, allocations: 248.1 kB / 1.131 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.7886, allocations: 118.3 kB / 1.132 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.7887, allocations: 65.7 kB / 1.132 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7888, allocations: 362.8 kB / 1.132 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.7891, allocations: 127.9 kB / 1.132 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.7893, allocations: 197.6 kB / 1.132 GB, free: 5.434 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.001993/0.7913, allocations: 0.8586 MB / 1.133 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.7914, allocations: 3.984 kB / 1.133 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006317/0.792, allocations: 424.5 kB / 1.134 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.792, allocations: 5.094 kB / 1.134 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.792, allocations: 4 kB / 1.134 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7921, allocations: 4 kB / 1.134 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.7924, allocations: 67.91 kB / 1.134 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.7924, allocations: 4 kB / 1.134 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.7928, allocations: 39.92 kB / 1.134 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.7929, allocations: 12 kB / 1.134 GB, free: 3.977 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.0002517/0.7931, allocations: 209.7 kB / 1.134 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.7932, allocations: 47.44 kB / 1.134 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.7934, allocations: 64.75 kB / 1.134 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.7934, allocations: 4 kB / 1.134 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.7934, allocations: 0 / 1.134 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005145/0.7939, allocations: 412.5 kB / 1.134 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.7958, allocations: 1.243 MB / 1.136 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.7958, allocations: 4 kB / 1.136 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.7962, allocations: 80.34 kB / 1.136 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.7962, allocations: 4 kB / 1.136 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.7962, allocations: 16 kB / 1.136 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.7963, allocations: 7.984 kB / 1.136 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.7963, allocations: 11.94 kB / 1.136 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.7972, allocations: 0.6994 MB / 1.136 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.7974, allocations: 164.5 kB / 1.137 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/0.7975, allocations: 15.98 kB / 1.137 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.798, allocations: 33.09 kB / 1.137 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.798, allocations: 39.84 kB / 1.137 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.7981, allocations: 16 kB / 1.137 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003583/0.7984, allocations: 327.1 kB / 1.137 GB, free: 384 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7984, allocations: 0 / 1.137 GB, free: 384 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005509/0.799, allocations: 148 kB / 1.137 GB, free: 236 kB / 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.001422/0.8004, allocations: 1.311 MB / 1.138 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005431/0.801, allocations: 320.4 kB / 1.139 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.801, allocations: 4 kB / 1.139 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.8012, allocations: 156.8 kB / 1.139 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.8029, allocations: 350.5 kB / 1.139 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/0.8088, allocations: 4.633 MB / 1.144 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.8093, allocations: 0.8901 MB / 1.145 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005286/0.8098, allocations: 132.6 kB / 1.145 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.8101, allocations: 167.4 kB / 1.145 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of SimCode: time 4.21e-07/0.8101, allocations: 4 kB / 1.145 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.8393, allocations: 14.78 MB / 1.159 GB, free: 9.5 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.8395, allocations: 256.6 kB / 1.159 GB, free: 9.246 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.851, allocations: 0 / 1.159 GB, free: 9.246 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