Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.88 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8555/0.8575, allocations: 160.7 MB / 1.213 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2117/1.069, allocations: 171.4 MB / 1.38 GB, free: 12.26 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006652/1.076, allocations: 3.395 MB / 1.384 GB, free: 8.855 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/1.077, allocations: 23.88 kB / 1.384 GB, free: 8.832 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/1.078, allocations: 334 kB / 1.384 GB, free: 8.504 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/1.082, allocations: 1.054 MB / 1.385 GB, free: 7.445 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/1.084, allocations: 0.6683 MB / 1.386 GB, free: 6.781 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002724/1.087, allocations: 1.541 MB / 1.387 GB, free: 5.234 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000857/1.088, allocations: 405.5 kB / 1.387 GB, free: 4.836 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/1.089, allocations: 0.5837 MB / 1.388 GB, free: 4.25 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/1.09, allocations: 0.4888 MB / 1.389 GB, free: 3.762 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/1.091, allocations: 56 kB / 1.389 GB, free: 3.707 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/1.093, allocations: 0.8846 MB / 1.389 GB, free: 2.82 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004417/1.093, allocations: 255.2 kB / 1.39 GB, free: 2.57 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006455/1.094, allocations: 338.5 kB / 1.39 GB, free: 2.238 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/1.096, allocations: 1.141 MB / 1.391 GB, free: 1.094 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.096, allocations: 0 / 1.391 GB, free: 1.094 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.993e-06/1.096, allocations: 0 / 1.391 GB, free: 1.094 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.171e-05/1.096, allocations: 0 / 1.391 GB, free: 1.094 MB / 1.092 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.002182/1.098, allocations: 0.9224 MB / 1.392 GB, free: 124 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/1.098, allocations: 12.62 kB / 1.392 GB, free: 112 kB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/1.099, allocations: 82.53 kB / 1.392 GB, free: 20 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/1.1, allocations: 179.4 kB / 1.392 GB, free: 15.84 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/1.101, allocations: 0.5251 MB / 1.393 GB, free: 15.28 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/1.101, allocations: 33 kB / 1.393 GB, free: 15.25 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.562e-05/1.101, allocations: 44 kB / 1.393 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000892/1.102, allocations: 474.4 kB / 1.393 GB, free: 14.73 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/1.102, allocations: 0 / 1.393 GB, free: 14.73 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/1.102, allocations: 16 kB / 1.393 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/1.102, allocations: 20.98 kB / 1.393 GB, free: 14.7 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/1.103, allocations: 423.7 kB / 1.394 GB, free: 14.29 MB / 1.107 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.003022/1.106, allocations: 1.728 MB / 1.395 GB, free: 12.43 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/1.107, allocations: 278.6 kB / 1.396 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/1.107, allocations: 172.8 kB / 1.396 GB, free: 11.97 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/1.107, allocations: 105 kB / 1.396 GB, free: 11.85 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/1.107, allocations: 38.56 kB / 1.396 GB, free: 11.8 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/1.107, allocations: 0 / 1.396 GB, free: 11.8 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.002195/1.109, allocations: 1.07 MB / 1.397 GB, free: 10.69 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/1.109, allocations: 59.41 kB / 1.397 GB, free: 10.62 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/1.11, allocations: 449.9 kB / 1.398 GB, free: 10.17 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/1.11, allocations: 33.7 kB / 1.398 GB, free: 10.13 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/1.11, allocations: 264.4 kB / 1.398 GB, free: 9.867 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/1.11, allocations: 119 kB / 1.398 GB, free: 9.75 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.11, allocations: 69.69 kB / 1.398 GB, free: 9.676 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.111, allocations: 354.8 kB / 1.398 GB, free: 9.32 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/1.111, allocations: 123.9 kB / 1.398 GB, free: 9.199 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/1.111, allocations: 193.9 kB / 1.399 GB, free: 8.988 MB / 1.107 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.001992/1.113, allocations: 0.8645 MB / 1.4 GB, free: 8.086 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.113, allocations: 0 / 1.4 GB, free: 8.086 MB / 1.107 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006704/1.114, allocations: 420.8 kB / 1.4 GB, free: 7.668 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.114, allocations: 8 kB / 1.4 GB, free: 7.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.114, allocations: 4.188 kB / 1.4 GB, free: 7.656 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.114, allocations: 7.938 kB / 1.4 GB, free: 7.648 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/1.114, allocations: 67.91 kB / 1.4 GB, free: 7.582 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.114, allocations: 4 kB / 1.4 GB, free: 7.578 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/1.114, allocations: 19.92 kB / 1.4 GB, free: 7.559 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/1.114, allocations: 16 kB / 1.4 GB, free: 7.543 MB / 1.107 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.0002886/1.115, allocations: 210.6 kB / 1.4 GB, free: 7.328 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/1.115, allocations: 55.67 kB / 1.4 GB, free: 7.273 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/1.115, allocations: 64.75 kB / 1.4 GB, free: 7.211 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/1.115, allocations: 4 kB / 1.4 GB, free: 7.207 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.115, allocations: 0 / 1.4 GB, free: 7.207 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005546/1.116, allocations: 408.3 kB / 1.401 GB, free: 6.777 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/1.118, allocations: 1.251 MB / 1.402 GB, free: 5.422 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.118, allocations: 4 kB / 1.402 GB, free: 5.418 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/1.118, allocations: 71.91 kB / 1.402 GB, free: 5.348 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/1.118, allocations: 8 kB / 1.402 GB, free: 5.34 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/1.118, allocations: 8 kB / 1.402 GB, free: 5.332 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.457e-06/1.118, allocations: 8 kB / 1.402 GB, free: 5.324 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/1.118, allocations: 7.938 kB / 1.402 GB, free: 5.316 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000973/1.119, allocations: 0.704 MB / 1.403 GB, free: 4.547 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/1.12, allocations: 172.7 kB / 1.403 GB, free: 4.359 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-05/1.12, allocations: 12 kB / 1.403 GB, free: 4.348 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/1.12, allocations: 24.05 kB / 1.403 GB, free: 4.324 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/1.12, allocations: 31.84 kB / 1.403 GB, free: 4.293 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/1.12, allocations: 20 kB / 1.403 GB, free: 4.273 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004073/1.121, allocations: 331.1 kB / 1.403 GB, free: 3.949 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.121, allocations: 0 / 1.403 GB, free: 3.949 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005844/1.121, allocations: 140 kB / 1.403 GB, free: 3.812 MB / 1.107 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.001632/1.123, allocations: 1.321 MB / 1.405 GB, free: 2.426 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0006406/1.123, allocations: 323.4 kB / 1.405 GB, free: 2.109 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.123, allocations: 0 / 1.405 GB, free: 2.109 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/1.124, allocations: 164.6 kB / 1.405 GB, free: 1.949 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/1.125, allocations: 355.7 kB / 1.406 GB, free: 1.609 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006243/1.132, allocations: 4.418 MB / 1.41 GB, free: 12.96 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/1.132, allocations: 0.8822 MB / 1.411 GB, free: 12.05 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005132/1.133, allocations: 136.6 kB / 1.411 GB, free: 11.92 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/1.133, allocations: 171.4 kB / 1.411 GB, free: 11.75 MB / 1.123 GB Notification: Performance of SimCode: time 1.202e-06/1.133, allocations: 0 / 1.411 GB, free: 11.75 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/1.181, allocations: 15.56 MB / 1.426 GB, free: 12.48 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.251/10.43, allocations: 11.86 kB / 1.426 GB, free: 12.47 MB / 1.139 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.32573706889525]