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.001733/0.001733, allocations: 106.8 kB / 16.4 MB, free: 6.449 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.002171/0.002171, allocations: 187.8 kB / 19.36 MB, free: 3.73 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.496/1.496, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.623/2.623, allocations: 437.1 MB / 0.7171 GB, free: 4.094 MB / 0.5763 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.002284/0.002284, allocations: 71.89 kB / 1.027 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.042, allocations: 151.6 MB / 1.175 GB, free: 17.46 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2092/1.251, allocations: 170.8 MB / 1.341 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005843/1.257, allocations: 3.38 MB / 1.345 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/1.257, allocations: 27.88 kB / 1.345 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/1.259, allocations: 314.1 kB / 1.345 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002556/1.261, allocations: 1.023 MB / 1.346 GB, free: 8.906 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/1.263, allocations: 0.6639 MB / 1.347 GB, free: 8.246 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002118/1.265, allocations: 1.526 MB / 1.348 GB, free: 6.715 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007234/1.266, allocations: 477.6 kB / 1.349 GB, free: 6.246 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009756/1.267, allocations: 0.568 MB / 1.349 GB, free: 5.676 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/1.268, allocations: 474.7 kB / 1.35 GB, free: 5.215 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/1.268, allocations: 56 kB / 1.35 GB, free: 5.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/1.27, allocations: 0.834 MB / 1.351 GB, free: 4.324 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/1.27, allocations: 239.4 kB / 1.351 GB, free: 4.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/1.27, allocations: 338.5 kB / 1.351 GB, free: 3.758 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001725/1.272, allocations: 1.133 MB / 1.352 GB, free: 2.621 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.272, allocations: 0 / 1.352 GB, free: 2.621 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.674e-06/1.272, allocations: 0 / 1.352 GB, free: 2.621 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.327e-06/1.272, allocations: 0 / 1.352 GB, free: 2.621 MB / 1.061 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.001509/1.274, allocations: 0.9263 MB / 1.353 GB, free: 1.645 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.274, allocations: 12.62 kB / 1.353 GB, free: 1.633 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/1.274, allocations: 82.53 kB / 1.353 GB, free: 1.543 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/1.275, allocations: 179.4 kB / 1.353 GB, free: 1.367 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008473/1.276, allocations: 0.525 MB / 1.354 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/1.276, allocations: 37 kB / 1.354 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/1.276, allocations: 40 kB / 1.354 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000802/1.277, allocations: 482.3 kB / 1.354 GB, free: 256 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/1.277, allocations: 0 / 1.354 GB, free: 256 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/1.277, allocations: 16 kB / 1.354 GB, free: 240 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/1.277, allocations: 13 kB / 1.354 GB, free: 228 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007148/1.278, allocations: 419.7 kB / 1.355 GB, free: 15.81 MB / 1.076 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.002591/1.28, allocations: 1.724 MB / 1.357 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/1.281, allocations: 298.6 kB / 1.357 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/1.281, allocations: 184.8 kB / 1.357 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/1.281, allocations: 101 kB / 1.357 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/1.281, allocations: 34.56 kB / 1.357 GB, free: 13.31 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 1.903e-06/1.281, allocations: 0 / 1.357 GB, free: 13.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002081/1.283, allocations: 1.074 MB / 1.358 GB, free: 12.19 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/1.283, allocations: 51.41 kB / 1.358 GB, free: 12.13 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/1.284, allocations: 453.9 kB / 1.359 GB, free: 11.68 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/1.284, allocations: 37.7 kB / 1.359 GB, free: 11.63 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/1.284, allocations: 248.5 kB / 1.359 GB, free: 11.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/1.284, allocations: 123 kB / 1.359 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/1.284, allocations: 69.69 kB / 1.359 GB, free: 11.19 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.285, allocations: 358.8 kB / 1.359 GB, free: 10.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/1.285, allocations: 131.9 kB / 1.36 GB, free: 10.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/1.285, allocations: 193.9 kB / 1.36 GB, free: 10.49 MB / 1.076 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.002027/1.287, allocations: 0.8684 MB / 1.361 GB, free: 9.586 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.287, allocations: 0 / 1.361 GB, free: 9.586 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006734/1.288, allocations: 424.9 kB / 1.361 GB, free: 9.164 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.288, allocations: 8.031 kB / 1.361 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.288, allocations: 4 kB / 1.361 GB, free: 9.152 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.288, allocations: 4 kB / 1.361 GB, free: 9.148 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/1.288, allocations: 71.91 kB / 1.361 GB, free: 9.078 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.288, allocations: 0 / 1.361 GB, free: 9.078 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/1.289, allocations: 19.92 kB / 1.361 GB, free: 9.059 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/1.289, allocations: 12 kB / 1.361 GB, free: 9.047 MB / 1.076 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.0002988/1.289, allocations: 219.8 kB / 1.361 GB, free: 8.824 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.271e-05/1.289, allocations: 55.67 kB / 1.361 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/1.289, allocations: 64.75 kB / 1.361 GB, free: 8.707 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.289, allocations: 4 kB / 1.361 GB, free: 8.703 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.289, allocations: 0 / 1.361 GB, free: 8.703 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005551/1.29, allocations: 400.3 kB / 1.362 GB, free: 8.281 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/1.292, allocations: 1.249 MB / 1.363 GB, free: 6.926 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.292, allocations: 4 kB / 1.363 GB, free: 6.922 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/1.292, allocations: 75.91 kB / 1.363 GB, free: 6.848 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/1.292, allocations: 4 kB / 1.363 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/1.292, allocations: 12 kB / 1.363 GB, free: 6.832 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/1.292, allocations: 4 kB / 1.363 GB, free: 6.828 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/1.292, allocations: 7.938 kB / 1.363 GB, free: 6.82 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/1.293, allocations: 0.7079 MB / 1.364 GB, free: 6.047 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/1.293, allocations: 172.7 kB / 1.364 GB, free: 5.859 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/1.293, allocations: 12.06 kB / 1.364 GB, free: 5.848 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/1.294, allocations: 21.11 kB / 1.364 GB, free: 5.828 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/1.294, allocations: 39.84 kB / 1.364 GB, free: 5.789 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/1.294, allocations: 12 kB / 1.364 GB, free: 5.777 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000386/1.294, allocations: 335.1 kB / 1.364 GB, free: 5.449 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.294, allocations: 0 / 1.364 GB, free: 5.449 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005415/1.295, allocations: 144 kB / 1.365 GB, free: 5.309 MB / 1.076 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.001529/1.297, allocations: 1.317 MB / 1.366 GB, free: 3.926 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005781/1.297, allocations: 327.5 kB / 1.366 GB, free: 3.605 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.297, allocations: 0 / 1.366 GB, free: 3.605 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/1.297, allocations: 169.9 kB / 1.366 GB, free: 3.441 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/1.299, allocations: 366.2 kB / 1.367 GB, free: 3.094 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005709/1.305, allocations: 4.421 MB / 1.371 GB, free: 14.45 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/1.305, allocations: 0.8822 MB / 1.372 GB, free: 13.54 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004597/1.306, allocations: 132.6 kB / 1.372 GB, free: 13.41 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/1.306, allocations: 171.4 kB / 1.372 GB, free: 13.24 MB / 1.092 GB Notification: Performance of SimCode: time 5.61e-07/1.306, allocations: 0 / 1.372 GB, free: 13.24 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0447/1.351, allocations: 15.47 MB / 1.387 GB, free: 14.04 MB / 1.108 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.075/10.43, allocations: 6.344 kB / 1.387 GB, free: 14.03 MB / 1.108 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.36004766705446]