Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001439/0.001439, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001583/0.001583, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.41/1.41, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.861/2.861, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.91 kB / 1.165 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.836, allocations: 178.9 MB / 1.34 GB, free: 16.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2127/1.049, allocations: 174.3 MB / 1.51 GB, free: 10.04 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005966/1.055, allocations: 3.405 MB / 1.514 GB, free: 6.629 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007257/1.055, allocations: 31.75 kB / 1.514 GB, free: 6.598 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009872/1.056, allocations: 334.1 kB / 1.514 GB, free: 6.27 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002693/1.059, allocations: 1.054 MB / 1.515 GB, free: 5.211 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/1.061, allocations: 0.6699 MB / 1.516 GB, free: 4.547 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002174/1.063, allocations: 1.533 MB / 1.517 GB, free: 3.008 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006713/1.064, allocations: 407.1 kB / 1.518 GB, free: 2.617 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/1.065, allocations: 0.7435 MB / 1.518 GB, free: 1.871 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/1.066, allocations: 485.6 kB / 1.519 GB, free: 1.398 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/1.067, allocations: 56 kB / 1.519 GB, free: 1.344 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/1.068, allocations: 0.8729 MB / 1.52 GB, free: 480 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003174/1.069, allocations: 243.3 kB / 1.52 GB, free: 236 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004718/1.069, allocations: 338.6 kB / 1.52 GB, free: 15.89 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001964/1.071, allocations: 1.148 MB / 1.521 GB, free: 14.75 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.071, allocations: 0 / 1.521 GB, free: 14.75 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.302e-06/1.071, allocations: 0 / 1.521 GB, free: 14.75 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.734e-05/1.071, allocations: 4 kB / 1.521 GB, free: 14.74 MB / 1.201 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.001631/1.073, allocations: 0.9223 MB / 1.522 GB, free: 13.77 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.073, allocations: 12.03 kB / 1.522 GB, free: 13.76 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.696e-05/1.073, allocations: 17 kB / 1.522 GB, free: 13.74 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/1.073, allocations: 86.52 kB / 1.522 GB, free: 13.64 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/1.074, allocations: 175.4 kB / 1.523 GB, free: 13.47 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009672/1.075, allocations: 0.5329 MB / 1.523 GB, free: 12.9 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/1.075, allocations: 33 kB / 1.523 GB, free: 12.87 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/1.075, allocations: 44 kB / 1.523 GB, free: 12.83 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/1.076, allocations: 470.4 kB / 1.524 GB, free: 12.36 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/1.076, allocations: 3.938 kB / 1.524 GB, free: 12.36 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/1.076, allocations: 16 kB / 1.524 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/1.076, allocations: 21 kB / 1.524 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/1.077, allocations: 411.7 kB / 1.524 GB, free: 11.92 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002921/1.08, allocations: 1.808 MB / 1.526 GB, free: 9.965 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/1.08, allocations: 290.5 kB / 1.526 GB, free: 9.672 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/1.081, allocations: 178.1 kB / 1.526 GB, free: 9.496 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/1.081, allocations: 97.09 kB / 1.526 GB, free: 9.383 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/1.081, allocations: 38.56 kB / 1.526 GB, free: 9.336 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/1.081, allocations: 0 / 1.526 GB, free: 9.336 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.002358/1.083, allocations: 1.062 MB / 1.527 GB, free: 8.223 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/1.083, allocations: 55.41 kB / 1.527 GB, free: 8.156 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/1.084, allocations: 461.9 kB / 1.528 GB, free: 7.688 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/1.084, allocations: 37.7 kB / 1.528 GB, free: 7.645 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/1.084, allocations: 252.4 kB / 1.528 GB, free: 7.395 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.084, allocations: 123 kB / 1.528 GB, free: 7.273 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.084, allocations: 69.66 kB / 1.528 GB, free: 7.199 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.085, allocations: 358.8 kB / 1.529 GB, free: 6.84 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/1.085, allocations: 127.9 kB / 1.529 GB, free: 6.715 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/1.085, allocations: 196.7 kB / 1.529 GB, free: 6.504 MB / 1.201 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.002126/1.087, allocations: 0.8591 MB / 1.53 GB, free: 5.605 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.087, allocations: 7.922 kB / 1.53 GB, free: 5.598 MB / 1.201 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007314/1.088, allocations: 416.9 kB / 1.53 GB, free: 5.184 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.088, allocations: 7.938 kB / 1.53 GB, free: 5.176 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.088, allocations: 4 kB / 1.53 GB, free: 5.172 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.088, allocations: 0 / 1.53 GB, free: 5.172 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/1.088, allocations: 76.09 kB / 1.53 GB, free: 5.098 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.088, allocations: 4 kB / 1.53 GB, free: 5.094 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/1.089, allocations: 8 kB / 1.53 GB, free: 5.086 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/1.089, allocations: 16 kB / 1.53 GB, free: 5.07 MB / 1.201 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.0003083/1.089, allocations: 217.6 kB / 1.531 GB, free: 4.848 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/1.089, allocations: 59.61 kB / 1.531 GB, free: 4.789 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/1.089, allocations: 56.77 kB / 1.531 GB, free: 4.734 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.089, allocations: 4 kB / 1.531 GB, free: 4.73 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.089, allocations: 4 kB / 1.531 GB, free: 4.727 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00055/1.09, allocations: 412.5 kB / 1.531 GB, free: 4.293 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/1.092, allocations: 1.239 MB / 1.532 GB, free: 2.949 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.092, allocations: 4.5 kB / 1.532 GB, free: 2.945 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/1.092, allocations: 75.91 kB / 1.532 GB, free: 2.871 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/1.092, allocations: 8 kB / 1.532 GB, free: 2.863 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/1.092, allocations: 12 kB / 1.532 GB, free: 2.852 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/1.092, allocations: 7.984 kB / 1.532 GB, free: 2.844 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-06/1.092, allocations: 7.938 kB / 1.532 GB, free: 2.836 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/1.093, allocations: 0.7114 MB / 1.533 GB, free: 2.059 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/1.094, allocations: 168.7 kB / 1.533 GB, free: 1.875 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/1.094, allocations: 19.92 kB / 1.533 GB, free: 1.855 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/1.094, allocations: 18.06 kB / 1.533 GB, free: 1.84 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/1.094, allocations: 35.91 kB / 1.533 GB, free: 1.805 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/1.094, allocations: 19.98 kB / 1.533 GB, free: 1.785 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004183/1.095, allocations: 331.1 kB / 1.534 GB, free: 1.465 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/1.095, allocations: 0 / 1.534 GB, free: 1.465 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006187/1.095, allocations: 140 kB / 1.534 GB, free: 1.328 MB / 1.201 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.001545/1.097, allocations: 1.298 MB / 1.535 GB, free: 15.96 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006393/1.098, allocations: 308 kB / 1.535 GB, free: 15.66 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/1.098, allocations: 0 / 1.535 GB, free: 15.66 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/1.098, allocations: 164.9 kB / 1.535 GB, free: 15.5 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/1.1, allocations: 373.7 kB / 1.536 GB, free: 15.14 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006585/1.106, allocations: 4.42 MB / 1.54 GB, free: 10.5 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/1.107, allocations: 0.8862 MB / 1.541 GB, free: 9.586 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000538/1.107, allocations: 144.6 kB / 1.541 GB, free: 9.441 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/1.108, allocations: 167.4 kB / 1.541 GB, free: 9.281 MB / 1.217 GB Notification: Performance of SimCode: time 1.002e-06/1.108, allocations: 0 / 1.541 GB, free: 9.281 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/1.151, allocations: 15.59 MB / 1.557 GB, free: 9.984 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.577/9.727, allocations: 11.98 kB / 1.557 GB, free: 9.973 MB / 1.232 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.878258607001044]