Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008425/0.0008425, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.000943/0.000943, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.8612/0.8612, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.619/1.619, allocations: 377.9 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.MixingVolumeMassFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.408e-05, allocations: 2.281 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5446/0.5446, allocations: 150.6 MB / 1.128 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004481/0.5491, allocations: 3.214 MB / 1.131 GB, free: 9.133 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006828/0.5498, allocations: 28.81 kB / 1.131 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008008/0.5506, allocations: 308.9 kB / 1.132 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.5527, allocations: 1.087 MB / 1.133 GB, free: 8.348 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.5542, allocations: 0.6944 MB / 1.133 GB, free: 7.984 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.556, allocations: 1.578 MB / 1.135 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005064/0.5565, allocations: 372.4 kB / 1.135 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.5577, allocations: 0.9048 MB / 1.136 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000984/0.5587, allocations: 448.2 kB / 1.136 GB, free: 6.531 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.557e-05/0.5588, allocations: 53.62 kB / 1.137 GB, free: 6.531 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.5601, allocations: 0.7035 MB / 1.137 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.5603, allocations: 257 kB / 1.137 GB, free: 6.156 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.5605, allocations: 243.4 kB / 1.138 GB, free: 6.059 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.5618, allocations: 1.154 MB / 1.139 GB, free: 5.668 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5618, allocations: 0.6094 kB / 1.139 GB, free: 5.668 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5618, allocations: 0 / 1.139 GB, free: 5.668 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.5619, allocations: 1.281 kB / 1.139 GB, free: 5.668 MB / 0.9948 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.001033/0.5629, allocations: 0.854 MB / 1.14 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5629, allocations: 8.969 kB / 1.14 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/0.563, allocations: 88.33 kB / 1.14 GB, free: 5.004 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006902/0.5637, allocations: 179.6 kB / 1.14 GB, free: 4.957 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.5643, allocations: 473.6 kB / 1.14 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.5643, allocations: 30.75 kB / 1.14 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.5643, allocations: 44.72 kB / 1.14 GB, free: 4.629 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/0.5649, allocations: 0.7148 MB / 1.141 GB, free: 4.125 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.5649, allocations: 0 / 1.141 GB, free: 4.125 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.565, allocations: 17.34 kB / 1.141 GB, free: 4.113 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.565, allocations: 19.33 kB / 1.141 GB, free: 4.105 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.5655, allocations: 413 kB / 1.142 GB, free: 3.977 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.5672, allocations: 1.23 MB / 1.143 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.5676, allocations: 277.2 kB / 1.143 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.5677, allocations: 172.1 kB / 1.143 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.5679, allocations: 19.48 kB / 1.143 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.5679, allocations: 42.47 kB / 1.143 GB, free: 3.074 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 1.532e-06/0.5679, allocations: 0 / 1.143 GB, free: 3.074 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33): time 0.001391/0.5693, allocations: 1.004 MB / 1.144 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.5693, allocations: 55.81 kB / 1.144 GB, free: 2.469 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.5697, allocations: 459.8 kB / 1.145 GB, free: 2.258 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.5697, allocations: 36.53 kB / 1.145 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.5698, allocations: 247.3 kB / 1.145 GB, free: 2.02 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/0.5699, allocations: 117.9 kB / 1.145 GB, free: 1.926 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.57, allocations: 74.67 kB / 1.145 GB, free: 1.879 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.5701, allocations: 357.4 kB / 1.146 GB, free: 1.547 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.5702, allocations: 126.2 kB / 1.146 GB, free: 1.504 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.5704, allocations: 253.7 kB / 1.146 GB, free: 1.324 MB / 0.9948 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.001231/0.5717, allocations: 0.7832 MB / 1.147 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5717, allocations: 0.875 kB / 1.147 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004476/0.5721, allocations: 417.7 kB / 1.147 GB, free: 0.8281 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5721, allocations: 9.562 kB / 1.147 GB, free: 0.8242 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5722, allocations: 1.469 kB / 1.147 GB, free: 0.8242 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5722, allocations: 3.844 kB / 1.147 GB, free: 0.8242 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.5723, allocations: 72.03 kB / 1.147 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5724, allocations: 6.328 kB / 1.147 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.5725, allocations: 15.31 kB / 1.147 GB, free: 0.8086 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.5726, allocations: 19.75 kB / 1.147 GB, free: 0.8008 MB / 0.9948 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.0001723/0.5727, allocations: 206.9 kB / 1.147 GB, free: 0.6445 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.5728, allocations: 57.59 kB / 1.147 GB, free: 0.6133 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.537e-05/0.5729, allocations: 61.69 kB / 1.147 GB, free: 0.5664 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.5729, allocations: 7.016 kB / 1.147 GB, free: 0.5625 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.5729, allocations: 0.75 kB / 1.147 GB, free: 0.5625 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003525/0.5732, allocations: 411.3 kB / 1.148 GB, free: 312 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.5746, allocations: 1.141 MB / 1.149 GB, free: 15.61 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.5746, allocations: 6.656 kB / 1.149 GB, free: 15.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.5748, allocations: 78.05 kB / 1.149 GB, free: 15.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.5748, allocations: 6.031 kB / 1.149 GB, free: 15.59 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.5748, allocations: 15.7 kB / 1.149 GB, free: 15.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.5748, allocations: 14.12 kB / 1.149 GB, free: 15.58 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.5748, allocations: 8.625 kB / 1.149 GB, free: 15.58 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.5755, allocations: 0.6937 MB / 1.15 GB, free: 15.12 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.5756, allocations: 97.38 kB / 1.15 GB, free: 15.07 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.5757, allocations: 12.44 kB / 1.15 GB, free: 15.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.5759, allocations: 16.69 kB / 1.15 GB, free: 15.07 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.5759, allocations: 34.53 kB / 1.15 GB, free: 15.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.5759, allocations: 21.61 kB / 1.15 GB, free: 15.05 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002718/0.5762, allocations: 334.6 kB / 1.15 GB, free: 14.89 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5762, allocations: 0 / 1.15 GB, free: 14.89 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004208/0.5766, allocations: 145.2 kB / 1.15 GB, free: 14.88 MB / 1.01 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.001233/0.5779, allocations: 1.284 MB / 1.152 GB, free: 13.88 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005188/0.5784, allocations: 313.9 kB / 1.152 GB, free: 13.78 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5784, allocations: 1.781 kB / 1.152 GB, free: 13.78 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.5786, allocations: 162 kB / 1.152 GB, free: 13.72 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.5798, allocations: 373.9 kB / 1.152 GB, free: 13.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/0.5846, allocations: 4.36 MB / 1.157 GB, free: 10.98 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.5849, allocations: 281.8 kB / 1.157 GB, free: 10.87 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005108/0.5854, allocations: 141.8 kB / 1.157 GB, free: 10.83 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.5856, allocations: 168.8 kB / 1.157 GB, free: 10.71 MB / 1.01 GB Notification: Performance of SimCode: time 2.274e-06/0.5856, allocations: 0 / 1.157 GB, free: 10.71 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03704/0.6226, allocations: 17.41 MB / 1.174 GB, free: 7.438 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/7.392, allocations: 14.27 kB / 1.174 GB, free: 7.434 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.207245384342968]