Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001763/0.001763, allocations: 111.1 kB / 17.96 MB, free: 3.918 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.001957/0.001957, allocations: 193.5 kB / 21.22 MB, free: 0.668 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.392/1.392, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.667/2.667, allocations: 476.7 MB / 0.7635 GB, free: 10.17 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.91 kB / 1.108 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.7881, allocations: 168.7 MB / 1.272 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2071/0.9952, allocations: 171.6 MB / 1.44 GB, free: 8.246 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006568/1.002, allocations: 3.396 MB / 1.443 GB, free: 4.844 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008175/1.003, allocations: 23.88 kB / 1.443 GB, free: 4.82 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/1.004, allocations: 334.1 kB / 1.444 GB, free: 4.492 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003292/1.007, allocations: 1.054 MB / 1.445 GB, free: 3.434 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/1.009, allocations: 0.6732 MB / 1.445 GB, free: 2.766 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002553/1.012, allocations: 1.537 MB / 1.447 GB, free: 1.227 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000843/1.013, allocations: 373.6 kB / 1.447 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/1.014, allocations: 0.5993 MB / 1.448 GB, free: 260 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/1.015, allocations: 498.2 kB / 1.448 GB, free: 15.77 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002016/1.016, allocations: 56 kB / 1.448 GB, free: 15.71 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/1.018, allocations: 0.8845 MB / 1.449 GB, free: 14.83 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004024/1.018, allocations: 251.3 kB / 1.449 GB, free: 14.58 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005919/1.019, allocations: 334.5 kB / 1.45 GB, free: 14.25 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002591/1.021, allocations: 1.137 MB / 1.451 GB, free: 13.11 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.021, allocations: 4 kB / 1.451 GB, free: 13.11 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.273e-06/1.021, allocations: 0 / 1.451 GB, free: 13.11 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.759e-05/1.021, allocations: 3.938 kB / 1.451 GB, free: 13.11 MB / 1.154 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.002043/1.023, allocations: 0.9262 MB / 1.452 GB, free: 12.12 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.024, allocations: 12.03 kB / 1.452 GB, free: 12.11 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/1.024, allocations: 94.45 kB / 1.452 GB, free: 12.01 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.025, allocations: 171.5 kB / 1.452 GB, free: 11.84 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/1.026, allocations: 0.5251 MB / 1.452 GB, free: 11.28 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/1.026, allocations: 40.98 kB / 1.453 GB, free: 11.24 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.149e-05/1.026, allocations: 47.95 kB / 1.453 GB, free: 11.2 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/1.027, allocations: 470.4 kB / 1.453 GB, free: 10.73 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.027, allocations: 0 / 1.453 GB, free: 10.73 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.384e-05/1.027, allocations: 16 kB / 1.453 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/1.027, allocations: 17 kB / 1.453 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006774/1.028, allocations: 415.7 kB / 1.453 GB, free: 10.29 MB / 1.154 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.002914/1.031, allocations: 1.729 MB / 1.455 GB, free: 8.43 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/1.031, allocations: 287.1 kB / 1.455 GB, free: 8.141 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/1.032, allocations: 175.3 kB / 1.456 GB, free: 7.969 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/1.032, allocations: 101 kB / 1.456 GB, free: 7.852 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/1.032, allocations: 42.56 kB / 1.456 GB, free: 7.801 MB / 1.154 GB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/1.032, allocations: 0 / 1.456 GB, free: 7.801 MB / 1.154 GB Notification: Performance of matching and sorting (n=33): time 0.002139/1.034, allocations: 1.071 MB / 1.457 GB, free: 6.676 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/1.034, allocations: 55.41 kB / 1.457 GB, free: 6.609 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/1.035, allocations: 457.9 kB / 1.457 GB, free: 6.156 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/1.035, allocations: 29.7 kB / 1.457 GB, free: 6.121 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/1.035, allocations: 256.5 kB / 1.458 GB, free: 5.867 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/1.035, allocations: 123 kB / 1.458 GB, free: 5.746 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/1.035, allocations: 73.64 kB / 1.458 GB, free: 5.668 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.035, allocations: 354.8 kB / 1.458 GB, free: 5.312 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/1.035, allocations: 127.7 kB / 1.458 GB, free: 5.188 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/1.036, allocations: 205.8 kB / 1.458 GB, free: 4.965 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.001978/1.038, allocations: 0.8526 MB / 1.459 GB, free: 4.074 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.038, allocations: 0 / 1.459 GB, free: 4.074 MB / 1.154 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006576/1.038, allocations: 424.6 kB / 1.46 GB, free: 3.652 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.038, allocations: 8 kB / 1.46 GB, free: 3.645 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.038, allocations: 0 / 1.46 GB, free: 3.645 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.038, allocations: 4 kB / 1.46 GB, free: 3.641 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/1.039, allocations: 72.09 kB / 1.46 GB, free: 3.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/1.039, allocations: 4 kB / 1.46 GB, free: 3.566 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/1.039, allocations: 19.92 kB / 1.46 GB, free: 3.547 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/1.039, allocations: 16 kB / 1.46 GB, free: 3.531 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.0002872/1.039, allocations: 209.7 kB / 1.46 GB, free: 3.316 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/1.04, allocations: 55.67 kB / 1.46 GB, free: 3.262 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/1.04, allocations: 64.69 kB / 1.46 GB, free: 3.195 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.04, allocations: 4 kB / 1.46 GB, free: 3.191 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.04, allocations: 4 kB / 1.46 GB, free: 3.188 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005291/1.04, allocations: 408.3 kB / 1.46 GB, free: 2.758 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/1.042, allocations: 1.251 MB / 1.462 GB, free: 1.402 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.042, allocations: 4.5 kB / 1.462 GB, free: 1.398 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/1.042, allocations: 75.84 kB / 1.462 GB, free: 1.324 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/1.042, allocations: 12 kB / 1.462 GB, free: 1.312 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/1.043, allocations: 8 kB / 1.462 GB, free: 1.305 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/1.043, allocations: 8 kB / 1.462 GB, free: 1.297 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.043, allocations: 11.92 kB / 1.462 GB, free: 1.285 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009089/1.043, allocations: 0.7041 MB / 1.462 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/1.044, allocations: 164.8 kB / 1.463 GB, free: 344 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/1.044, allocations: 8 kB / 1.463 GB, free: 336 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/1.044, allocations: 23.98 kB / 1.463 GB, free: 312 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/1.044, allocations: 35.91 kB / 1.463 GB, free: 276 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/1.044, allocations: 23.98 kB / 1.463 GB, free: 252 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004129/1.045, allocations: 327.1 kB / 1.463 GB, free: 15.93 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/1.045, allocations: 0 / 1.463 GB, free: 15.93 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005606/1.045, allocations: 144 kB / 1.463 GB, free: 15.79 MB / 1.17 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.001477/1.047, allocations: 1.323 MB / 1.464 GB, free: 14.4 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005883/1.047, allocations: 303.6 kB / 1.465 GB, free: 14.1 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.047, allocations: 0 / 1.465 GB, free: 14.1 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/1.048, allocations: 161 kB / 1.465 GB, free: 13.95 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/1.049, allocations: 358.6 kB / 1.465 GB, free: 13.6 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/1.055, allocations: 4.431 MB / 1.47 GB, free: 8.953 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/1.056, allocations: 0.8901 MB / 1.47 GB, free: 8.035 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005068/1.056, allocations: 132.6 kB / 1.471 GB, free: 7.906 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/1.056, allocations: 167.4 kB / 1.471 GB, free: 7.742 MB / 1.17 GB Notification: Performance of SimCode: time 1.092e-06/1.056, allocations: 0 / 1.471 GB, free: 7.742 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04623/1.103, allocations: 15.56 MB / 1.486 GB, free: 8.453 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.78/9.883, allocations: 13.5 kB / 1.486 GB, free: 8.445 MB / 1.186 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.776722849113867]